@Test public void does_NOT_ensures_user_has_access_with_param_false() { toTest.get("project-id1", ScanProjectConfigID.MOCK_CONFIGURATION,false); verify(toTest.scanAssertService,never()).assertUserHasAccessToProject("project-id1"); }
public ScanProjectConfig get(String projectId, ScanProjectConfigID configId) { return get(projectId, configId, true); }
ScanProjectConfigService { public ScanProjectConfig get(String projectId, ScanProjectConfigID configId) { return get(projectId, configId, true); } }
ScanProjectConfigService { public ScanProjectConfig get(String projectId, ScanProjectConfigID configId) { return get(projectId, configId, true); }  }
ScanProjectConfigService { public ScanProjectConfig get(String projectId, ScanProjectConfigID configId) { return get(projectId, configId, true); }  ScanProjectConfig get(String projectId, ScanProjectConfigID configId); ScanProjectConfig getOrCreate(String projectId, ScanProjectConfigID configId, boolean checkAccess, String defaultData); ScanProjectConfig get(String projectId, ScanProjectConfigID configId, boolean checkAccess); void set(String projectId, ScanProjectConfigID configId, String data); }
ScanProjectConfigService { public ScanProjectConfig get(String projectId, ScanProjectConfigID configId) { return get(projectId, configId, true); }  ScanProjectConfig get(String projectId, ScanProjectConfigID configId); ScanProjectConfig getOrCreate(String projectId, ScanProjectConfigID configId, boolean checkAccess, String defaultData); ScanProjectConfig get(String projectId, ScanProjectConfigID configId, boolean checkAccess); void set(String projectId, ScanProjectConfigID configId, String data);  }