public void testPostNotificationNSNotification() {
NSNotificationCenter nc = NSNotificationCenter.defaultCenter();
TestObserver observer = new TestObserver();
nc.addObserver(observer, new NSSelector<Void>("invoked", new Class[] { NSNotification.class }), "test", null);
NSNotification notification = new NSNotification("test", null);
nc.postNotification(notification);
assertTrue(observer.invoked);
}