@Test
void decorateTask_runnableContext() {

    var runnable = mock(RunnableContext.class);
    
    assertEquals(task, scheduler.decorateTask(runnable, task));
    assertSame(task, runnable.future);
}