public void IsNotEmptyTest8() { EmptyTestEnumerable c = new EmptyTestEnumerable(); try { Condition.Requires(c, "c").IsNotEmpty("{0} should have no elements what so ever"); } catch (ArgumentException ex) { Assert.IsTrue(ex.Message.Contains("c should have no elements what so ever")); } }
public void IsNotEmptyTest8() { EmptyTestEnumerable c = new EmptyTestEnumerable(); try { Condition.Requires(c, "c").IsNotEmpty("{0} should have no elements what so ever"); } catch (ArgumentException ex) { Assert.IsTrue(ex.Message.Contains("c should have no elements what so ever")); } }
public void IsNotEmptyTest4() { EmptyTestEnumerable c = new EmptyTestEnumerable(); Condition.Requires(c).IsNotEmpty(); }
public void IsEmptyTest07() { EmptyTestEnumerable c = new EmptyTestEnumerable(); Condition.Requires(c).IsEmpty("condition should hold"); }
public void IsNotEmptyTest4() { EmptyTestEnumerable c = new EmptyTestEnumerable(); Condition.Requires(c).IsNotEmpty(); }
public void IsEmptyTest07() { EmptyTestEnumerable c = new EmptyTestEnumerable(); Condition.Requires(c).IsEmpty("condition should hold"); }