public void SutIsSpecimenBuilder()
 {
     // Fixture setup
     // Exercise system
     var sut = new Int16SequenceGenerator();
     // Verify outcome
     Assert.IsAssignableFrom<ISpecimenBuilder>(sut);
     // Teardown
 }
 public void CreateWithNullContainerDoesNotThrow()
 {
     // Fixture setup
     var sut = new Int16SequenceGenerator();
     // Exercise system
     var dummyRequest = new object();
     sut.Create(dummyRequest, null);
     // Verify outcome (no exception indicates success)
     // Teardown
 }
 public void CreateWithNullRequestWillReturnCorrectResult()
 {
     // Fixture setup
     var sut = new Int16SequenceGenerator();
     // Exercise system
     var dummyContainer = new DelegatingSpecimenContext();
     var result = sut.Create(null, dummyContainer);
     // Verify outcome
     Assert.Equal(new NoSpecimen(), result);
     // Teardown
 }
        public void CreateWithNonInt16RequestWillReturnCorrectResult()
        {
            // Fixture setup
            var nonInt16Request = new object();
            var sut = new Int16SequenceGenerator();
            // Exercise system
            var dummyContainer = new DelegatingSpecimenContext();
            var result = sut.Create(nonInt16Request, dummyContainer);
            // Verify outcome
#pragma warning disable 618
            var expectedResult = new NoSpecimen(nonInt16Request);
#pragma warning restore 618
            Assert.Equal(expectedResult, result);
            // Teardown
        }