@Test
void canBe() {

    assertFalse(instance.canBe(State.CREATED));
    assertFalse(instance.canBe(State.INITIALIZED));
    assertFalse(instance.canBe(State.RESOLVED));
    assertFalse(instance.canBe(State.STARTED));
    assertTrue(instance.canBe(State.STOPPED));
    instance.setState(State.STOPPED);
    assertFalse(instance.canBe(State.CREATED));
    assertFalse(instance.canBe(State.INITIALIZED));
    assertFalse(instance.canBe(State.RESOLVED));
    assertFalse(instance.canBe(State.STARTED));
    assertFalse(instance.canBe(State.STOPPED));
}