Added log for testing purposes

This commit is contained in:
Luca Frosini 2023-04-27 12:21:14 +02:00
parent 93e3768a64
commit 999603e41a
1 changed files with 4 additions and 0 deletions

View File

@ -351,9 +351,13 @@ public class ERManagementTest extends ContextTest {
ResourceManagement resourceManagement = getResourceManagement(r);
String json = resourceManagement.create();
logger.debug("Created resource {}", json);
@SuppressWarnings("unchecked")
R createdR = (R) ElementMapper.unmarshal(r.getClass(), json);
logger.debug("Unmarshalled created resource {}", ElementMapper.marshal(createdR));
checkResource(r, createdR);
return createdR;