@Test
public void testCreateTableFromSnapshotAsync() throws Exception {

  CreateTableFromSnapshotRequest request =
      CreateTableFromSnapshotRequest.newBuilder()
          .setTableId(TABLE_ID)
          .setSourceSnapshot("test-snapshot")
          .build();
  Operation response = Operation.getDefaultInstance();
  when(mockAdminClient.createTableFromSnapshotAsync(request))
      .thenReturn(Futures.immediateFuture(response));
  Future<Operation> actualResponse = clientWrapper.createTableFromSnapshotAsync(request);
  assertEquals(response, actualResponse.get());
  verify(mockAdminClient).createTableFromSnapshotAsync(request);
}