test_class.declarator: adapter = new MenuPopupAdapter()
test_class.modifier: private
test_class.original_string: private MenuPopupAdapter adapter = new MenuPopupAdapter();
test_class.type: MenuPopupAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/MenuPopupAdapterTest.java
test_class.identifier: MenuPopupAdapterTest
test_case.body: @Test
      public void testMenuChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getMenuChanged());
          adapter.menuChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setMenuChanged(callable);
          adapter.menuChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: MenuPopupAdapterTest.testMenuChanged()
test_case.full_signature: @Test public void testMenuChanged()
test_case.identifier: testMenuChanged
test_case.invocations: assertNull getMenuChanged menuChanged assertFalse setMenuChanged menuChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMenuChanged()
focal_class.declarator: menuChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> menuChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: menuChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/MenuPopupAdapter.java
focal_class.identifier: MenuPopupAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.MenuPopupListener
focal_class.class_method_signature: MenuPopupAdapter.getMenuChanged()
focal_class.full_signature: public CallableWithArgs<Void> getMenuChanged()
focal_class.identifier: getMenuChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getMenuChanged()
focal_class.class_method_signature: MenuPopupAdapter.setMenuChanged(CallableWithArgs<Void> menuChanged)
focal_class.full_signature: public void setMenuChanged(CallableWithArgs<Void> menuChanged)
focal_class.identifier: setMenuChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> menuChanged)
focal_class.return: void
focal_class.signature: void setMenuChanged(CallableWithArgs<Void> menuChanged)
focal_class.class_method_signature: MenuPopupAdapter.menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_class.full_signature: public void menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_class.identifier: menuChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_class.return: void
focal_class.signature: void menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_method.body: public void menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1) {
          if (menuChanged != null) {
              menuChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: MenuPopupAdapter.menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_method.full_signature: public void menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_method.identifier: menuChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)
focal_method.return: void
focal_method.signature: void menuChanged(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.wtk.Menu arg1)