@Test
public void runShouldDoNothingIfNetworkIsDown() {

    assertFalse(networkService.isNetworkUp());
    assertFalse(chatState.isLogonCompleted());
    logonTask.run();
    assertFalse(chatState.isLogonCompleted());
}