public void ToList_Test_ReturnsPopulatedObjectInListGivenInputWithNotNullNullablePropertyTypes() { _table = TestClassFactory.GetDataTable(_mockMetadataFileWithNoNullValues); var list = _table.ToList <MockMetadataFile>(); Assert.IsFalse(HelperMethodsForTesting.HasANullablePropertyWithNullValue(list[0])); }
public async Task ToListAsync_Test_ReturnsPopulatedObjectInListGivenInputWithNullNullablePropertyTypes() { _table = TestClassFactory.GetDataTable(_mockMetadataFileWithNullValues); var list = await _table.ToListAsync <MockMetadataFile>(); Assert.IsTrue(HelperMethodsForTesting.HasANullablePropertyWithNullValue(list[0])); }