assertTrue(parentGroup.isMember(user, DomainRegistry.groupMemberService()));
assertTrue(childGroup.isMember(user, DomainRegistry.groupMemberService()));
ApplicationServiceRegistry
.identityApplicationService()
.removeUserFromGroup(new RemoveUserFromGroupCommand(
childGroup.tenantId().id(),
childGroup.name(),
user.username()));
assertEquals(1, parentGroup.groupMembers().size());