public void Matches_returns_true_if_the_interface_is_decorated_with_EnforceCapabilities(CapabilityEnforcementSpec sut) { Assert.That(() => sut.Matches(typeof(ISampleInterface)), Is.True); }
public void Matches_returns_false_if_the_type_is_not_an_interface(CapabilityEnforcementSpec sut) { Assert.That(() => sut.Matches(typeof(string)), Is.False); }
public void Matches_returns_false_if_the_interface_is_not_decorated_with_EnforceCapabilities(CapabilityEnforcementSpec sut) { Assert.That(() => sut.Matches(typeof(ISampleInterfaceWithoutEnforcement)), Is.False); }
public void Matches_returns_false_if_the_type_is_null(CapabilityEnforcementSpec sut) { Assert.That(() => sut.Matches(null), Is.False); }