Ejemplo n.º 1
0
        public void Copy_CallToCopy_ShouldReturnNewReferenceOfSameObjectType()
        {
            // Arrange
            // Act
            Proposition copy          = negation.Copy();
            bool        sameReference = negation == copy;

            // Assert
            sameReference.Should().BeFalse("Because the copy should be a different object reference");
            copy.Equals(negation).Should().BeTrue("Because the copy should have the same data");
        }