public AssertionChain BecauseOf( Reason reason )
Parameters
- reason
- An object containing a formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed, as well as zero or more objects to format the placeholders. If the phrase does not start with the word because, it is prepended automatically.explaining why the assertion is needed.