Beispiel #1
0
        public void SutIsRequestSpecification()
        {
            // Arrange
            // Act
            var sut = new HashSetSpecification();

            // Assert
            Assert.IsAssignableFrom <IRequestSpecification>(sut);
        }
Beispiel #2
0
        public void SutIsRequestSpecification()
        {
            // Fixture setup
            // Exercise system
            var sut = new HashSetSpecification();

            // Verify outcome
            Assert.IsAssignableFrom <IRequestSpecification>(sut);
            // Teardown
        }
Beispiel #3
0
        public void IsSatisfiedByCollectionRequestReturnsCorrectResult(Type request)
        {
            // Arrange
            var sut = new HashSetSpecification();
            // Act
            var result = sut.IsSatisfiedBy(request);

            // Assert
            Assert.True(result);
        }
Beispiel #4
0
        public void IsSatisfiedByNonHashSetRequestReturnsCorrectResult(object request)
        {
            // Arrange
            var sut = new HashSetSpecification();
            // Act
            var result = sut.IsSatisfiedBy(request);

            // Assert
            Assert.False(result);
        }
Beispiel #5
0
        public void IsSatisfiedByCollectionRequestReturnsCorrectResult(Type request)
        {
            // Fixture setup
            var sut = new HashSetSpecification();
            // Exercise system
            var result = sut.IsSatisfiedBy(request);

            // Verify outcome
            Assert.True(result);
            // Teardown
        }
Beispiel #6
0
        public void IsSatisfiedByNonHashSetRequestReturnsCorrectResult(object request)
        {
            // Fixture setup
            var sut = new HashSetSpecification();
            // Exercise system
            var result = sut.IsSatisfiedBy(request);

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