@Test(expected = IllegalStateException.class)
public void shouldThrowExceptionOnIllegalStop() {

    ControllerImpl controllerImpl = new ControllerImpl(serverConfigFactory, serverSocketFactory,
            serverGui);
    controllerImpl.stop();
}