@Test(dependsOnMethods = "testFindUsers")
public void testCreateGroup() {

    UserGroup.ID id = metadata.commit(() -> {
        UserGroup groupA = this.provider.createGroup("groupA");
        assertThat(groupA).isNotNull();
        return groupA.getId();
    }, MetadataAccess.SERVICE);
    metadata.read(() -> {
        Optional<UserGroup> optional = this.provider.findGroupById(id);
        assertThat(optional.isPresent()).isTrue();
    }, MetadataAccess.SERVICE);
}