### Question:
APICase extends ConsoleAPI<CaseItem> implements APIHasGet<CaseItem>, APIHasAdd<CaseItem>, APIHasSearch<CaseItem>, APIHasDelete { @Override protected void fillDeploys(final CaseItem item, final List<String> deploys) { fillStartedBy(item, deploys); fillStartedBySubstitute(item, deploys); fillProcess(item, deploys); }  @Override CaseItem add(final CaseItem caseItem); @Override CaseItem get(final APIID id); @Override ItemSearchResult<CaseItem> search(final int page, final int resultsByPage, final String search, final String orders,
            final Map<String, String> filters); @Override String defineDefaultSearchOrder(); @Override void delete(final List<APIID> ids);  }### Answer:
@Test public final void fillDeploys_should_do_nothing_when_deploy_of_started_by_is_not_active() { final CaseItem item = mock(CaseItem.class); final List<String> deploys = new ArrayList<String>(); apiCase.fillDeploys(item, deploys); verify(item, never()).setDeploy(anyString(), any(Item.class)); }
@Test public final void fillDeploys_should_do_nothing_when_deploy_of_started_by_substitute_is_not_active() { final CaseItem item = mock(CaseItem.class); final List<String> deploys = new ArrayList<String>(); apiCase.fillDeploys(item, deploys); verify(item, never()).setDeploy(anyString(), any(Item.class)); }
@Test public final void fillDeploys_should_do_nothing_when_deploy_of_process_is_not_active() { final CaseItem item = mock(CaseItem.class); final List<String> deploys = new ArrayList<String>(); apiCase.fillDeploys(item, deploys); verify(item, never()).setDeploy(anyString(), any(Item.class)); }