public void TwoProductionSitesWithDistinctValuesShouldBeNotEqualThroughMethod() { // Arrange var firstName = "Production Site 1"; var secondName = "Production Site 2"; var first = new ProductionSite(firstName); var second = new ProductionSite(secondName); // Act var result = first.Equals(second); // Assert result.Should().BeFalse(); }
public void TwoProductionSitesWithSameValuesShouldBeEqualThroughMethod() { // Arrange var name = "Production Site"; var first = new ProductionSite(name); var second = new ProductionSite(name); // Act var result = first.Equals(second); // Assert result.Should().BeTrue(); }