public Guid Empty() { if (should.Negate) { assertProvider.AreNotEqual(Guid.Empty, should.Target); } else { assertProvider.AreEqual(Guid.Empty, should.Target); } return(should.Target); }
public DateTime Today() { if (should.Negate) { assertProvider.AreNotEqual(DateTime.Today, should.Target.Date); } else { assertProvider.AreEqual(DateTime.Today, should.Target.Date); } return(should.Target); }
public IEnumerable <T> Empty() { if (should.Negate) { assertProvider.AreNotEqual(0, should.Target.Count()); } else { assertProvider.AreEqual(0, should.Target.Count()); } return(should.Target); }
public string Empty() { if (should.Negate) { assertProvider.AreNotEqual(string.Empty, should.Target); } else { assertProvider.AreEqual(string.Empty, should.Target); } return(should.Target); }
public ICollection Empty() { if (should.Negate) { assertProvider.AreNotEqual(0, should.Target.Count); } else { assertProvider.AreEqual(0, should.Target.Count); } return(should.Target); }
public DateTime?Today() { if (!should.Target.HasValue) { assertProvider.Fail("Expected TODAY but was NULL."); } else { if (should.Negate) { assertProvider.AreNotEqual(DateTime.Today, should.Target.Value.Date); } else { assertProvider.AreEqual(DateTime.Today, should.Target.Value.Date); } } return(should.Target); }