@Override
    public boolean isCancelled() {
        return state.isCancelledState();
    }
@Test
    public void testIsCancelled() throws Exception {
        assertThat(promise.isCancelled()).isEqualTo(false);
    }