Future<byte[]> future =
delegate.makeAsyncCall(
env,
AppEngineTester.DATASTORE_SERVICE,
AppEngineTester.PUT_METHOD,
reqPb.toByteArray(),
new ApiConfig());
future.get();
assertThat(tester.count("Hoge"), is(1));
tester.tearDown();
ApiProxy.setDelegate(AppEngineTester.apiProxyLocalImpl);