public static T ShouldBeLessThanOrEqualTo <T>(this T item, T other) where T : IComparable
 {
     return(ShouldBeLessThanOrEqualTo(item,
                                      other,
                                      () => ShouldBeLessThanOrEqualToAssertionException.CreateMessage(ExpectedMessageBuilder.ToDisplayableString(other),
                                                                                                      ExpectedMessageBuilder.ToDisplayableString(item))));
 }
 private void when_building_the_exception_message()
 {
     _result = ShouldBeLessThanOrEqualToAssertionException.CreateMessage(_other.ToString(), _input.ToString());
 }
 private void when_building_the_exception_message()
 {
     _result = ShouldBeLessThanOrEqualToAssertionException.CreateMessage(ExpectedMessageBuilder.ToDisplayableString(_other), ExpectedMessageBuilder.ToDisplayableString(_input));
 }