Beispiel #1
0
 public void DoesNotHaveLength(int length, string str)
 {
     NotThat(str, Matchers.HaveLength(length));
 }
Beispiel #2
0
 public void DoesNotHaveLength(int length, string str, string message, params object[] args)
 {
     NotThat(str, Matchers.HaveLength(length), message, args);
 }
Beispiel #3
0
 public void DoesNotHaveLength(int length, Array array)
 {
     NotThat(array, Matchers.HaveLength(length));
 }
Beispiel #4
0
 public void HasLength(int length, string str)
 {
     That(str, Matchers.HaveLength(length));
 }
Beispiel #5
0
 public void HasLength(int length, Array array, string message, params object[] args)
 {
     That(array, Matchers.HaveLength(length), message, args);
 }
Beispiel #6
0
 public void HasLength(int length, Array array)
 {
     That(array, Matchers.HaveLength(length));
 }
Beispiel #7
0
 public static void Length <TSource>(this IEnumerableExpectation <TSource> e, int length, string message, params object[] args)
 {
     e.Self.Like(Matchers.HaveLength(length), message, (object[])args);
 }