class GroupResolversImpl implements GroupResolvers {

    @Override
    public DataFetcher<Group> deleteGroupDataFetcher() {
        return environment -> {
            long groupId = util.getLongArg(environment, "groupId");

            return groupLocalService.deleteGroup(groupId);
        };
    }

}