public void RequiresNonNullForNonPublicMethodWhenAttributeSpecifiesNonPublic() { var sample = new ClassWithPrivateMethod(); Assert.Throws <ArgumentNullException>(() => sample.PublicWrapperOfPrivateMethod()); }
public void RequiresNonNullForNonPublicMethodWhenAttributeSpecifiesNonPublic() { var sample = new ClassWithPrivateMethod(); Assert.Throws<ArgumentNullException>(() => sample.PublicWrapperOfPrivateMethod()); }