public void IsSatisfiedByNullThrows()
 {
     // Fixture setup
     var dummyType = typeof(object);
     var sut = new SeedRequestSpecification(dummyType);
     // Exercise system and verify outcome
     Assert.Throws<ArgumentNullException>(() =>
         sut.IsSatisfiedBy(null));
     // Teardown
 }
 public void IsSatisfiedByReturnsCorrectResult(Type specType, Type seedRequestType, bool expectedResult)
 {
     // Fixture setup
     var sut = new SeedRequestSpecification(specType);
     var dummySeed = new object();
     var seededRequest = new SeededRequest(seedRequestType, dummySeed);
     // Exercise system
     var result = sut.IsSatisfiedBy(seededRequest);
     // Verify outcome
     Assert.Equal(expectedResult, result);
     // Teardown
 }
 public void IsSatisfiedByNonSeedReturnsCorrectResult()
 {
     // Fixture setup
     var dummyType = typeof(object);
     var sut = new SeedRequestSpecification(dummyType);
     var nonSeedRequest = new object();
     // Exercise system
     var result = sut.IsSatisfiedBy(nonSeedRequest);
     // Verify outcome
     Assert.False(result);
     // Teardown
 }