@Override protected void test() throws Exception { TestUtil.test(() -> findAll(input.spaceId, getDao()), expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override protected void test() { TestUtil.test(() -> getDao().add(input.subscription), expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override protected void test() throws Exception { TestUtil.test(() -> findAll(input, getDao()), expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override public void test() { TestUtil.test(() -> { return findConfigurationEntriesGuid(input, createDao()); }, expectation, getClass(), new JsonSerializationOptions(true, false)); } }
@Override public void test() { TestUtil.test(() -> { return findConfigurationEntries(input, createDao()); }, expectation, getClass(), new JsonSerializationOptions(true, false)); } }
@Test public void testGetServices() { TestUtil.test(new Callable<List<CloudServiceExtended>>() { @Override public List<CloudServiceExtended> call() throws Exception { return servicesBuilder.build(resourcesCalculator.calculateContentForBuilding(deploymentDescriptor.getResources2())); } }, expectedServices, getClass(), new TestUtil.JsonSerializationOptions(false, true)); }
@Override protected void test() throws Exception { TestUtil.test(() -> dao.remove(findOne(input, dao).getId()), expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override protected void test() throws Exception { TestUtil.test(() -> { return dao.update(findConfigurationEntries(input, dao).get(0) .getId(), input.configurationEntry); }, expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override public void test() { TestUtil.test(() -> { return dao.add(input.configurationEntry); }, expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Test public void testGetApplications() { TestUtil.test(new Callable<List<CloudApplicationExtended>>() { @Override public List<CloudApplicationExtended> call() throws Exception { return appsBuilder.build(modulesCalculator.calculateContentForBuilding(deploymentDescriptor.getModules2()), new ModuleToDeployHelper()); } }, expectedApps, getClass(), new TestUtil.JsonSerializationOptions(false, true)); }
@Override protected void test() throws Exception { TestUtil.test(() -> dao.update(findOne(input, dao).getId(), input.subscription), expectation, getClass(), new JsonSerializationOptions(true, false)); }
@Override public void test() { TestUtil.test(() -> { return dao.find(findConfigurationEntries(input, dao).get(0) .getId()); }, expectation, getClass(), new JsonSerializationOptions(true, false)); }