public void IsEquivalentTo_Self_ShouldBeTrue() { // arrange var mockPersistentObject = new MockPersistentObject(Presets.MockDataRepository.Object); // act var isEquivalent = mockPersistentObject.IsEquivalentTo(mockPersistentObject, 2); // assert isEquivalent.Should().BeTrue(); }
public void IsEquivalentTo_AnotherInstance_ShouldBeTrue() { // arrange var mockPersistentObjectA = new MockPersistentObject(Presets.MockDataRepository.Object); var mockPersistentObjectB = new MockPersistentObject(Presets.MockDataRepository.Object); // act var isEquivalent = mockPersistentObjectA.IsEquivalentTo(mockPersistentObjectB, 2); // assert isEquivalent.Should().BeTrue(); }