public void CreateAreaDTOWithCorrectIdProperty_Test() { // Arrange var area = FactoryForTest.GetArea(id: 1); // Act var areaDTO = factory.Create(area); // Assert Assert.AreEqual(area.Id, areaDTO.Id); }
public void CreateAreaDTOWhichHasToBeNotNull_Test() { // Arrange var area = FactoryForTest.GetArea(); // Act var areaDTO = factory.Create(area); // Assert Assert.IsNotNull(areaDTO); }