CreateAsset

4

tests

0

failures

0

ignored

6.530s

duration

100%

successful

Tests

Test Duration Result
anyUser_canCreateNewDomainSetupAsset() 1.320s passed
createsAndGrantsRoles() 2.234s passed
identifiersForTheSameTypeAreUnique() 1.521s passed
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset() 1.455s passed

Standard output

2026-08-10T16:38:15.657Z  INFO 369 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$CreateAsset]: CreateAsset does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:38:15.671Z  INFO 369 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$CreateAsset
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
identifiersForTheSameTypeAreUnique(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select count(*) from hs_hosting.asset hhare1_0
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 7b606cd0-2fc7-4372-b474-3e437bdce793
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, 097415ea-6d92-45ea-abe5-e3f908976dae
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
2026-08-10T16:38:16.700Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23505
2026-08-10T16:38:16.700Z ERROR 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: duplicate key value violates unique constraint "asset_type_identifier_key"
  Detail: Key (type, identifier)=(MANAGED_WEBSPACE, fir01) already exists.
  Where: SQL statement "insert
            into hs_hosting.asset (uuid, version, bookingitemuuid, type, parentassetuuid, assignedtoassetuuid, identifier, caption, config, alarmcontactuuid)
            values (new.uuid, new.version, new.bookingitemuuid, new.type, new.parentassetuuid, new.assignedtoassetuuid, new.identifier, new.caption, new.config, new.alarmcontactuuid)
            returning *"
PL/pgSQL function hs_hosting.asset_instead_of_insert_tf() line 5 at SQL statement
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRbacEntity#097415ea-6d92-45ea-abe5-e3f908976dae deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#7b606cd0-2fc7-4372-b474-3e437bdce793 deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
identifiersForTheSameTypeAreUnique(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
anyUser_canCreateNewDomainSetupAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
anyUser_canCreateNewDomainSetupAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
createsAndGrantsRoles(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 7da582a9-f78d-4720-84dc-cc4458886bbc
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
Hibernate: select rrre1_0.uuid,rrre1_0.objectidname,rrre1_0.objecttable,rrre1_0.objectuuid,rrre1_0.objectTable||'#'||rrre1_0.objectIdName||':'||rrre1_0.roleType,rrre1_0.roletype from rbac.role_ev rrre1_0
Hibernate: select rrge1_0.uuid,rrge1_0.ascendantidname,rrge1_0.ascendantuuid,rrge1_0.assumed,rrge1_0.descendantidname,rrge1_0.descendantuuid,rrge1_0.grantedbyroleidname,rrge1_0.grantedbyroleuuid from rbac.grant_ev rrge1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, 445213e3-70dd-4ec3-a3f3-484770047169
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: select rrre1_0.uuid,rrre1_0.objectidname,rrre1_0.objecttable,rrre1_0.objectuuid,rrre1_0.objectTable||'#'||rrre1_0.objectIdName||':'||rrre1_0.roleType,rrre1_0.roletype from rbac.role_ev rrre1_0
Hibernate: select rrge1_0.uuid,rrge1_0.ascendantidname,rrge1_0.ascendantuuid,rrge1_0.assumed,rrge1_0.descendantidname,rrge1_0.descendantuuid,rrge1_0.grantedbyroleidname,rrge1_0.grantedbyroleuuid from rbac.grant_ev rrge1_0
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRbacEntity#445213e3-70dd-4ec3-a3f3-484770047169 deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#7da582a9-f78d-4720-84dc-cc4458886bbc deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
createsAndGrantsRoles(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select count(*) from hs_hosting.asset hhare1_0
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 9d3051c0-4234-4217-be85-115c0777f47c
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, 9d548105-464b-4cd8-9878-8f257936daa7
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,d1_0.uuid,d1_0.debitornumber,d1_0.defaultprefix,hbpre1_0.version from hs_booking.project hbpre1_0 join hs_booking.debitor_xv d1_0 on d1_0.uuid=hbpre1_0.debitoruuid where hbpre1_0.uuid=?
Hibernate: select count(*) from hs_hosting.asset hhare1_0
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRbacEntity#9d548105-464b-4cd8-9878-8f257936daa7 deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#9d3051c0-4234-4217-be85-115c0777f47c deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0