Search in sources :

Example 1 with MemcacheFlushResponse

use of com.google.appengine.api.memcache.MemcacheServicePb.MemcacheFlushResponse in project appengine-java-standard by GoogleCloudPlatform.

the class MemcacheServiceImplTest method testClearAll.

@Test
public void testClearAll() {
    MemcacheFlushRequest request = MemcacheFlushRequest.getDefaultInstance();
    MemcacheFlushResponse response = MemcacheFlushResponse.getDefaultInstance();
    expectAsyncCall("FlushAll", request, response);
    new MemcacheServiceImpl(null).clearAll();
    verifyAsyncCall("FlushAll", request);
}
Also used : MemcacheFlushRequest(com.google.appengine.api.memcache.MemcacheServicePb.MemcacheFlushRequest) MemcacheFlushResponse(com.google.appengine.api.memcache.MemcacheServicePb.MemcacheFlushResponse) Test(org.junit.Test)

Aggregations

MemcacheFlushRequest (com.google.appengine.api.memcache.MemcacheServicePb.MemcacheFlushRequest)1 MemcacheFlushResponse (com.google.appengine.api.memcache.MemcacheServicePb.MemcacheFlushResponse)1 Test (org.junit.Test)1