public void SutIsRequestSpecification() { // Fixture setup // Exercise system var sut = new HashSetSpecification(); // Verify outcome Assert.IsAssignableFrom<IRequestSpecification>(sut); // Teardown }
public void IsSatisfiedByCollectionRequestReturnsCorrectResult(Type request) { // Fixture setup var sut = new HashSetSpecification(); // Exercise system var result = sut.IsSatisfiedBy(request); // Verify outcome Assert.True(result); // Teardown }
public void IsSatisfiedByNonHashSetRequestReturnsCorrectResult(object request) { // Fixture setup var sut = new HashSetSpecification(); // Exercise system var result = sut.IsSatisfiedBy(request); // Verify outcome Assert.False(result); // Teardown }