@Test
public void lifecycleStop() {

    // given
    LifeCycle lifeCycle = createLifeCycleTestObject();
    assertFalse(lifeCycle.isStarted());
    lifeCycle.start();
    assertTrue(lifeCycle.isStarted());
    // when
    lifeCycle.stop();
    // then
    assertFalse(lifeCycle.isStarted());
    assertTrue(lifeCycle.isStopped());
}