public void Equals_SameType_ShouldBeFalse() { // Arrange var stringId1 = new MockStringId(); var stringId2 = new MockStringId(); // Act var condition = stringId1.Equals(stringId2); // Assert condition.Should().BeFalse(); }
public void Value_InvalidGuid_ShouldBeValue() { // Arrange var guid = Guid.NewGuid().ToString(); var stringId1 = new MockStringId(guid); var stringId2 = new MockStringId(guid); // Act var condition = stringId1.Equals(stringId2); // Assert condition.Should().BeTrue(); }