public void CreateIndicatorDTOWichHasToBeNotNull_Test() { // Arrange var indicator = FactoryForTest.GetIndicator(); // Act var indicatorDTO = factory.Create(indicator); // Assert Assert.IsNotNull(indicatorDTO); }
public void CreateIndocatorDTOWithEqualIdProperty() { // Arrange var indicator = FactoryForTest.GetIndicator(id: 1); // Act var indicatorDTO = factory.Create(indicator); // Assert Assert.AreEqual(indicator.Id, indicatorDTO.Id); }