@Test
public void shouldMarkUnverifiedChildAsSyncedOnceSuccessfullySynced() throws Exception {

    getFakeHttpLayer().addHttpResponseRule("http://whatever/api/children/unverified", new TestHttpResponse(200, "{}"));
    Child child = new Child();
    given(currentUser.isVerified()).willReturn(false);
    child = genericSyncService.sync(child, "api/children/unverified");
    assertThat(child.isSynced(), is(true));
}