public void SutYieldsCorrectSequence()
        {
            // Arrange
            var expected = new DelegatingSpecimenBuilder();
            var sut      = new TerminatingWithPathSpecimenBuilder(expected);

            // Act
            // Assert
            Assert.Equal(expected, sut.Single());
            Assert.Equal(expected, sut.Cast <object>().Single());
        }
Ejemplo n.º 2
0
        public void SutYieldsCorrectSequence()
        {
            // Fixture setup
            var expected = new DelegatingSpecimenBuilder();
            var sut      = new TerminatingWithPathSpecimenBuilder(expected);

            // Exercise system
            // Verify outcome
            Assert.Equal(expected, sut.Single());
            Assert.Equal(expected, sut.Cast <object>().Single());
            // Teardown
        }