@Test public void fetches_data_from_repository() { ScanProjectConfig result = toTest.get("project-id1", ScanProjectConfigID.MOCK_CONFIGURATION); assertNotNull(result);; assertEquals("configData", result.getData()); }
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);  }