SystemCommandStateObserver { public void onSystemCommandStateChanged(@Observes final SystemCommandStateChangedEvent systemCommandStateChangedEvent) { systemCommandStateHandler.handleSystemCommandStateChanged(systemCommandStateChangedEvent); }  void onSystemCommandStateChanged(@Observes final SystemCommandStateChangedEvent systemCommandStateChangedEvent);  }
@Test public void shouldProcessSystemCommandInProgressEvent() throws Exception { final SystemCommandStateChangedEvent systemCommandStateChangedEvent = mock(SystemCommandStateChangedEvent.class); systemCommandStateObserver.onSystemCommandStateChanged(systemCommandStateChangedEvent); verify(systemCommandStateHandler).handleSystemCommandStateChanged(systemCommandStateChangedEvent); }