thrownewInvalidPluginDefinitionException($plugin_id,sprintf('The "%s" plugin tries to group group_content entities, which is simply not possible.',$plugin_id));
thrownewInvalidPluginDefinitionException($plugin_id,sprintf('The "%s" plugin defines entity access over group entities. This should be dealt with by altering the group permissions of the current user.',$plugin_id));
$this->expectExceptionMessage('The "some_plugin" plugin defines entity access over group entities. This should be dealt with by altering the group permissions of the current user.');