roleTO.setName("withvirtual");
roleTO.setParent(8L);
final AttributeTO rvirtualdata = new AttributeTO();
rvirtualdata.setSchema("rvirtualdata");
roleTO.addVirtualAttribute(rvirtualdata);
roleTO = restTemplate.postForObject(BASE_URL + "role/create", roleTO, RoleTO.class);
assertNotNull(roleTO);
assertEquals(1, roleTO.getVirtualAttributes().size());