@Test
@SuppressWarnings("all")
public void getOperationTest() {

  String name2 = "name2-1052831874";
  boolean done = true;
  Operation expectedResponse = Operation.newBuilder().setName(name2).setDone(done).build();
  mockOperations.addResponse(expectedResponse);
  String name = "name3373707";
  Operation actualResponse = client.getOperation(name);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockOperations.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetOperationRequest actualRequest = (GetOperationRequest) actualRequests.get(0);
  Assert.assertEquals(name, actualRequest.getName());
}