SystemFollowProfile implements StateProfile { @Override public void onCommandFromItem(Command command) { } SystemFollowProfile(ProfileCallback callback); @Override ProfileTypeUID getProfileTypeUID(); @Override void onStateUpdateFromItem(State state); @Override void onCommandFromHandler(Command command); @Override void onCommandFromItem(Command command); @Override void onStateUpdateFromHandler(State state);  }
@Test public void testOnCommand() { SystemFollowProfile profile = new SystemFollowProfile(mockCallback); profile.onCommandFromItem(OnOffType.ON); verifyNoMoreInteractions(mockCallback); }