test_class.declarator: mockCallback
test_class.modifier: private @Mock
test_class.original_string: private @Mock ProfileCallback mockCallback;
test_class.type: ProfileCallback
test_class.var_name: mockCallback
test_class.file: bundles/org.openhab.core.thing/src/test/java/org/openhab/core/thing/internal/profiles/SystemDefaultProfileTest.java
test_class.identifier: SystemDefaultProfileTest
test_case.body: @Test
      public void testPostCommand() {
          SystemDefaultProfile profile = new SystemDefaultProfile(mockCallback);
          profile.onCommandFromHandler(OnOffType.ON);
  
          verify(mockCallback).sendCommand(eq(OnOffType.ON));
          verifyNoMoreInteractions(mockCallback);
      }
test_case.class_method_signature: SystemDefaultProfileTest.testPostCommand()
test_case.full_signature: @Test public void testPostCommand()
test_case.identifier: testPostCommand
test_case.invocations: onCommandFromHandler sendCommand verify eq verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPostCommand()
focal_class.declarator: callback
focal_class.modifier: private final
focal_class.original_string: private final ProfileCallback callback;
focal_class.type: ProfileCallback
focal_class.var_name: callback
focal_class.file: bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/internal/profiles/SystemDefaultProfile.java
focal_class.identifier: SystemDefaultProfile
focal_class.interfaces: implements StateProfile
focal_class.class_method_signature: SystemDefaultProfile.SystemDefaultProfile(ProfileCallback callback)
focal_class.full_signature: public  SystemDefaultProfile(ProfileCallback callback)
focal_class.identifier: SystemDefaultProfile
focal_class.modifiers: public
focal_class.parameters: (ProfileCallback callback)
focal_class.signature:  SystemDefaultProfile(ProfileCallback callback)
focal_class.class_method_signature: SystemDefaultProfile.getProfileTypeUID()
focal_class.full_signature: @Override public ProfileTypeUID getProfileTypeUID()
focal_class.identifier: getProfileTypeUID
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ProfileTypeUID
focal_class.signature: ProfileTypeUID getProfileTypeUID()
focal_class.class_method_signature: SystemDefaultProfile.onCommandFromItem(Command command)
focal_class.full_signature: @Override public void onCommandFromItem(Command command)
focal_class.identifier: onCommandFromItem
focal_class.modifiers: @Override public
focal_class.parameters: (Command command)
focal_class.return: void
focal_class.signature: void onCommandFromItem(Command command)
focal_class.class_method_signature: SystemDefaultProfile.onStateUpdateFromHandler(State state)
focal_class.full_signature: @Override public void onStateUpdateFromHandler(State state)
focal_class.identifier: onStateUpdateFromHandler
focal_class.modifiers: @Override public
focal_class.parameters: (State state)
focal_class.return: void
focal_class.signature: void onStateUpdateFromHandler(State state)
focal_class.class_method_signature: SystemDefaultProfile.onCommandFromHandler(Command command)
focal_class.full_signature: @Override public void onCommandFromHandler(Command command)
focal_class.identifier: onCommandFromHandler
focal_class.modifiers: @Override public
focal_class.parameters: (Command command)
focal_class.return: void
focal_class.signature: void onCommandFromHandler(Command command)
focal_class.class_method_signature: SystemDefaultProfile.onStateUpdateFromItem(State state)
focal_class.full_signature: @Override public void onStateUpdateFromItem(State state)
focal_class.identifier: onStateUpdateFromItem
focal_class.modifiers: @Override public
focal_class.parameters: (State state)
focal_class.return: void
focal_class.signature: void onStateUpdateFromItem(State state)
focal_method.body: @Override
      public void onCommandFromHandler(Command command) {
          callback.sendCommand(command);
      }
focal_method.class_method_signature: SystemDefaultProfile.onCommandFromHandler(Command command)
focal_method.full_signature: @Override public void onCommandFromHandler(Command command)
focal_method.identifier: onCommandFromHandler
focal_method.invocations: sendCommand
focal_method.modifiers: @Override public
focal_method.parameters: (Command command)
focal_method.return: void
focal_method.signature: void onCommandFromHandler(Command command)