@Test
void is() {

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