@Test public void testDeleteByIdsWithNullIds()throws HttpException { RestClient mockClient = EasyMock.createMock(RestClient.class); DawgHouseClient client = new DawgHouseClient(); client.setClient(mockClient); RestResponse response = new RestResponse(new BasicStatusLine(new ProtocolVersion("HTTP", 0, 0), 200, null)); EasyMock.expect(mockClient.execute((RestRequest) EasyMock.anyObject())).andReturn(response); EasyMock.replay(mockClient); Collection<String> ids = null; try { client.deleteByIds(ids ); } catch (Exception e) { Assert.fail("deleteByIds threw " + e); } }
@Override public void deleteByIds(Collection<String> ids) { post("/devices/delete",ids,"id"); }
DawgHouseClient extends DawgClient implements IDawgHouseClient<MetaStb> { @Override public void deleteByIds(Collection<String> ids) { post("/devices/delete",ids,"id"); } }
DawgHouseClient extends DawgClient implements IDawgHouseClient<MetaStb> { @Override public void deleteByIds(Collection<String> ids) { post("/devices/delete",ids,"id"); } DawgHouseClient();  DawgHouseClient(String baseURL); }
DawgHouseClient extends DawgClient implements IDawgHouseClient<MetaStb> { @Override public void deleteByIds(Collection<String> ids) { post("/devices/delete",ids,"id"); } DawgHouseClient();  DawgHouseClient(String baseURL); @Override MetaStb getById(String id); @Override void add(MetaStb stb); @Override void delete(String id); @Override Collection<MetaStb> getByIds(Collection<String> ids); @Override Collection<MetaStb> getByQuery(String query); @Override void deleteByIds(Collection<String> ids); @Override void delete(MetaStb stb); @Override void delete(Collection<MetaStb> stbs); @Override void add(Collection<MetaStb> stbs); @Override void update(MetaStb stb); @Override void update(Collection<String> id, Map<String, Object> data); @Override Collection<MetaStb> getAll(); DawgModel[] getDawgModels(String... modelNames); }
DawgHouseClient extends DawgClient implements IDawgHouseClient<MetaStb> { @Override public void deleteByIds(Collection<String> ids) { post("/devices/delete",ids,"id"); } DawgHouseClient();  DawgHouseClient(String baseURL); @Override MetaStb getById(String id); @Override void add(MetaStb stb); @Override void delete(String id); @Override Collection<MetaStb> getByIds(Collection<String> ids); @Override Collection<MetaStb> getByQuery(String query); @Override void deleteByIds(Collection<String> ids); @Override void delete(MetaStb stb); @Override void delete(Collection<MetaStb> stbs); @Override void add(Collection<MetaStb> stbs); @Override void update(MetaStb stb); @Override void update(Collection<String> id, Map<String, Object> data); @Override Collection<MetaStb> getAll(); DawgModel[] getDawgModels(String... modelNames);  }