All Questions
1 question
12
votes
2
answers
8k
views
Unit Test to test the creation of a Domain Object
I have a Unit Test, which looks like this:
[Test]
public void Should_create_person()
{
Assert.DoesNotThrow(() => new Person(Guid.NewGuid(), new DateTime(1972, 01, 01));
}
I am asserting that ...