@Test public void testAsNotReadyToPull() throws Exception { Task task = createTestTask(); TaskMarkFlow markFlow = janbanery.tasks().mark(task); task = markFlow.asNotReadyToPull().get(); assertThat(task.getReadyToPull()).isFalse(); }
@Override public TaskFlow asNotReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsNotReadyToPull(task); task = taskMoveFlow.get(); return new TaskFlowImpl(tasks, columns, task); }
TaskMarkFlowImpl implements TaskMarkFlow { @Override public TaskFlow asNotReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsNotReadyToPull(task); task = taskMoveFlow.get(); return new TaskFlowImpl(tasks, columns, task); } }
TaskMarkFlowImpl implements TaskMarkFlow { @Override public TaskFlow asNotReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsNotReadyToPull(task); task = taskMoveFlow.get(); return new TaskFlowImpl(tasks, columns, task); } TaskMarkFlowImpl(Tasks tasks, Columns columns, Task task); }
TaskMarkFlowImpl implements TaskMarkFlow { @Override public TaskFlow asNotReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsNotReadyToPull(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(); }
TaskMarkFlowImpl implements TaskMarkFlow { @Override public TaskFlow asNotReadyToPull() { TaskFlow taskMoveFlow = tasks.markAsNotReadyToPull(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();  }