@Test(expected = SyncFailedException.class)
public void shouldThrowSyncFailedExceptionWhenSyncFailure() throws Exception {

    Child child = new Child();
    getFakeHttpLayer().setDefaultHttpResponse(503, "error");
    genericSyncService.sync(child, "");
}