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