@Test
public void complete_and_notYetComplete() throws Exception {
// given
List<ToDoItem> notYetCompleteItems = wrap(service(ToDoItems.class)).notYetComplete();
final ToDoItem toDoItem = wrap(notYetCompleteItems.get(0));
// when
toDoItem.completed();
// then
assertThat(wrap(service(ToDoItems.class)).notYetComplete().size(), is(notYetCompletedSize-1));
assertThat(wrap(service(ToDoItems.class)).complete().size(), is(completedSize+1));
// and when
toDoItem.notYetCompleted();
// then
assertThat(wrap(service(ToDoItems.class)).notYetComplete().size(), is(notYetCompletedSize));
assertThat(wrap(service(ToDoItems.class)).complete().size(), is(completedSize));
}