public void AppliesTo_TypeInSubordinateNamespace_ReturnsFalse() { // Arrange var sut = new ExactNamespaceTypeExclusion("System"); // Act var result = sut.AppliesTo(typeof(System.Collections.Generic.List<string>)); // Assert Assert.False(result); }
public void AppliesTo_TypeInExactNamespace_ReturnsTrue() { // Arrange var sut = new ExactNamespaceTypeExclusion("System"); // Act var result = sut.AppliesTo(typeof(System.Int32)); // Assert Assert.True(result); }
public void AppliesTo_TypeInSubordinateNamespace_ReturnsFalse() { // Arrange var sut = new ExactNamespaceTypeExclusion("System"); // Act var result = sut.AppliesTo(typeof(System.Collections.Generic.List <string>)); // Assert Assert.False(result); }