use of cz.metacentrum.perun.core.api.ServicesPackage in project perun by CESNET.
the class ServicesManagerEntryIntegrationTest method getServicesPackageById.
@Test
public void getServicesPackageById() throws Exception {
System.out.println(CLASS_NAME + "getServicesPackageById");
service = setUpService();
servicesPackage = setUpServicesPackage(service);
ServicesPackage returnedPackage = perun.getServicesManager().getServicesPackageById(sess, servicesPackage.getId());
assertNotNull("unable to get services package by ID", returnedPackage);
assertEquals("returned services package should be the same we added", returnedPackage, servicesPackage);
}
Aggregations