public void ListShouldBeCreatedEmptyAndNotNull() { //---------------Set up test pack------------------- var sut = SomePOCOWithListBuilder.BuildRandom(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var result = sut.Strings; //---------------Test Result ----------------------- Assert.IsNotNull(result); CollectionAssert.IsEmpty(result); }
public void WhenUsing_WithFilledCollections_ShouldPutDataInCollections() { //---------------Set up test pack------------------- var sut = SomePOCOWithListBuilder.Create().WithRandomProps().WithFilledCollections().Build(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var result = sut.Strings; //---------------Test Result ----------------------- Assert.IsNotNull(result); CollectionAssert.IsNotEmpty(result); }