NSNotification notification = NSNotification.CLASS.notificationWithName_object("MyNotification", null);
assertNull(implementor.arg);
notificationCentre.postNotification(notification);
assertEquals(notification, implementor.arg);
notificationCentre.removeObserver(observer);
}
@Test public void testMemoryManagement() {
// we were autorelease'ing the proxy - so that this failed
NSNotificationCenter notificationCentre = NSNotificationCenter.CLASS.defaultCenter();