When two nations have formed a treaty of alliance, in anticipation of a war or other difficulty with another, and it is required to determine the case in which the parties must act in consequence of the alliance, this is called the casus foederis, or case of alliance.