_KeyBindingFactory.MethodLookup,
_KeyBindingFactory.UnderbarMethodLookup,
_KeyBindingFactory.UnderbarFieldLookup,
_KeyBindingFactory.OtherStorageLookup };
_KeyBinding binding = NSKeyValueCoding.DefaultImplementation._createKeyGetBindingForKey(obj, "knownKey", lookupOrder);
assertEquals(4, binding.valueInObject(obj));
}
public void testKeyBindingRestrictedAccess$withProtectedAccessor() {
RestrictedClass obj = new RestrictedClass();
assertEquals(FORTY_TWO, Utility.valueForKey(obj, "knownMethod"));