SystemFollowProfile implements StateProfile { @Override public void onStateUpdateFromHandler(State state) { } 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 testStateUpdated() { SystemFollowProfile profile = new SystemFollowProfile(mockCallback); profile.onStateUpdateFromHandler(OnOffType.ON); verifyNoMoreInteractions(mockCallback); }