TaskMarkFlowImpl implements TaskMarkFlow { @Override public TaskFlow asReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsReadyToPull(task); task = taskMoveFlow.get(); return new TaskFlowImpl(tasks, columns, task); } TaskMarkFlowImpl(Tasks tasks, Columns columns, Task task); @Override TaskFlow asReadyToPull(); @Override TaskFlow asNotReadyToPull(); @Override Task get();  }
@Test public void testAsReadyToPull() throws Exception { Task task = createTestTask(); task = janbanery.tasks().mark(task).asReadyToPull().get(); assertThat(task.getReadyToPull()).isTrue(); }