@Test
public void testMapAsync() throws Exception {

    FutureWithTrigger<Integer> futureWithTrigger = new FutureWithTrigger<>();
    int test = 1;
    Triggerer.triggerValueAsync(10, test, futureWithTrigger);
    int result = futureWithTrigger.getFuture().map(i->i+1).await();
    assertEquals(test + 1, result);
}