public void SutDoesNotEqualAnonymousObject()
        {
            // Arrange
            var sut = new OmitSpecimen();
            // Act
            var anonymous = new object();
            var actual    = sut.Equals(anonymous);

            // Assert
            Assert.False(actual);
        }
Esempio n. 2
0
        public void SutDoesNotEqualAnonymousObject()
        {
            // Fixture setup
            var sut = new OmitSpecimen();
            // Exercise system
            var anonymous = new object();
            var actual    = sut.Equals(anonymous);

            // Verify outcome
            Assert.False(actual);
            // Teardown
        }