test_class.declarator: mockFrame = createMock(Frame.class)
test_class.original_string: Frame mockFrame = createMock(Frame.class);
test_class.type: Frame
test_class.var_name: mockFrame
test_class.declarator: mockApplication = createMock(IApplication.class)
test_class.original_string: IApplication mockApplication = createMock(IApplication.class);
test_class.type: IApplication
test_class.var_name: mockApplication
test_class.declarator: mockDialogUtils = createMock(IDialogUtils.class)
test_class.original_string: IDialogUtils mockDialogUtils = createMock(IDialogUtils.class);
test_class.type: IDialogUtils
test_class.var_name: mockDialogUtils
test_class.file: sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/mainframe/action/SavePreferencesCommandTest.java
test_class.identifier: SavePreferencesCommandTest
test_case.body: @Test 
      public final void testExecute() {
          mockApplication.saveApplicationState();
          mockDialogUtils.showOk(isA(Component.class), isA(String.class));
          
          replay(mockFrame);
          replay(mockApplication);
          replay(mockDialogUtils);
          
          
          SavePreferencesCommand command = 
              new SavePreferencesCommand(mockApplication, mockFrame);
          command.setDialogUtils(mockDialogUtils);
          command.execute();
          
          verify(mockFrame);
          verify(mockApplication);
          verify(mockDialogUtils);
          
      }
test_case.class_method_signature: SavePreferencesCommandTest.testExecute()
test_case.full_signature: @Test public final void testExecute()
test_case.identifier: testExecute
test_case.invocations: saveApplicationState showOk isA isA replay replay replay setDialogUtils execute verify verify verify
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExecute()
focal_class.declarator: _app
focal_class.modifier: private final
focal_class.original_string: private final IApplication _app;
focal_class.type: IApplication
focal_class.var_name: _app
focal_class.declarator: _frame
focal_class.modifier: private
focal_class.original_string: private Frame _frame;
focal_class.type: Frame
focal_class.var_name: _frame
focal_class.declarator: dialogUtils = null
focal_class.modifier: private
focal_class.original_string: private IDialogUtils dialogUtils = null;
focal_class.type: IDialogUtils
focal_class.var_name: dialogUtils
focal_class.declarator: s_stringMgr =
         StringManagerFactory.getStringManager(SavePreferencesCommand.class)
focal_class.modifier: private static final
focal_class.original_string: private static final StringManager s_stringMgr =
         StringManagerFactory.getStringManager(SavePreferencesCommand.class);
focal_class.type: StringManager
focal_class.var_name: s_stringMgr
focal_class.file: sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/mainframe/action/SavePreferencesCommand.java
focal_class.identifier: SavePreferencesCommand
focal_class.interfaces: implements ICommand
focal_class.class_method_signature: SavePreferencesCommand.SavePreferencesCommand(IApplication app, Frame frame)
focal_class.full_signature: public  SavePreferencesCommand(IApplication app, Frame frame)
focal_class.identifier: SavePreferencesCommand
focal_class.modifiers: public
focal_class.parameters: (IApplication app, Frame frame)
focal_class.signature:  SavePreferencesCommand(IApplication app, Frame frame)
focal_class.class_method_signature: SavePreferencesCommand.setDialogUtils(IDialogUtils utils)
focal_class.full_signature: public void setDialogUtils(IDialogUtils utils)
focal_class.identifier: setDialogUtils
focal_class.modifiers: public
focal_class.parameters: (IDialogUtils utils)
focal_class.return: void
focal_class.signature: void setDialogUtils(IDialogUtils utils)
focal_class.class_method_signature: SavePreferencesCommand.execute()
focal_class.full_signature: public void execute()
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void execute()
focal_method.body: public void execute()
     {
         _app.saveApplicationState();
         dialogUtils.showOk(_frame, s_stringMgr.getString("SavePreferencesCommand.allPrefsSavedMsg"));
     }
focal_method.class_method_signature: SavePreferencesCommand.execute()
focal_method.full_signature: public void execute()
focal_method.identifier: execute
focal_method.invocations: saveApplicationState showOk getString
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void execute()