@Test
public void testListSnapshotsAsync() throws Exception {

  ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder().setParent(TABLE_NAME).build();
  ListSnapshotsResponse response = ListSnapshotsResponse.getDefaultInstance();
  when(mockAdminClient.listSnapshotsAsync(request)).thenReturn(Futures.immediateFuture(response));
  Future<ListSnapshotsResponse> actualResponse = clientWrapper.listSnapshotsAsync(request);
  assertEquals(response, actualResponse.get());
  verify(mockAdminClient).listSnapshotsAsync(request);
}