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

    getFakeHttpLayer().setDefaultHttpResponse(201, "{}");
    Child child = genericSyncService.sync(new Child(), "");
    verify(repository).createOrUpdateWithoutHistory(child);
}