public void IsKeyPrivate_Returns_False() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); Assert.IsFalse(setter.IsKeyPrivate(test, "PublicSetter")); }
public void IsKeyPrivate_Throws_If_Property_Not_Found() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); setter.IsKeyPrivate(test, "NotFound"); }
public void IsKeyPrivate_Defaults_To_Expected_Convention() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); Assert.IsTrue(setter.IsKeyPrivate(test)); }
public void IsKeyPrivate_Throws_If_Property_Not_Found() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); setter.IsKeyPrivate(test, "NotFound"); }
public void IsKeyPrivate_Returns_True() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); Assert.IsTrue(setter.IsKeyPrivate(test, "PrivateSetter")); }
public void IsKeyPrivate_Defaults_To_Expected_Convention() { PrivateKeySetter setter = new PrivateKeySetter(); TestObj test = new TestObj(); Assert.IsTrue(setter.IsKeyPrivate(test)); }