@Test
public void testDeploy() throws Exception {

  String id = "application 1";
  AppListController ac = Mockito.mock(AppListController.class);
  Service service = new Service();
  Response expected = Response.ok().build();
  when(ac.deploy(id, service)).thenReturn(Response.ok().build());
  final Response actual = ac.deploy(id, service);
  assertEquals(expected.getStatus(), actual.getStatus());
}