Its an ocean out there...
[Test]public void CreatedOnDefaultsToNow(){ SomeClass someObject = new SomeClass(); Assert.That(someObject.CreatedOn, Is.EqualTo(DateTime.Now).Within(new TimeSpan(1000)));}
Post a Comment
No comments:
Post a Comment