@Test
public void shouldMarkChildAsSyncedWhenSyncing() throws IOException, JSONException, GeneralSecurityException {

    getFakeHttpLayer().setDefaultHttpResponse(201, "{}");
    Child child = genericSyncService.sync(new Child(), "");
    assertThat(child.isSynced(), is(true));
}