@Test
public void testStartShouldCallSetHandlerOnServerWhenCreateServerWasSuccessfully() {

    //GIVEN
    given(serverFactory.createServer(serverProperties)).willReturn(jettyServer);
    //WHEN
    underTest.start();
    //THEN
    verify(jettyServer).setHandler((Handler) Mockito.anyObject());
}