package de.terrestris.shogun2.service;

import de.terrestris.shogun2.dao.UserGroupDao;
import de.terrestris.shogun2.model.UserGroup;

public class UserGroupServiceTest extends
		AbstractSecuredPersistentObjectServiceTest<UserGroup, UserGroupDao<UserGroup>, UserGroupService<UserGroup, UserGroupDao<UserGroup>>> {

	/**
	 *
	 * @throws Exception
	 */
	public void setUpImplToTest() throws Exception {
		implToTest = new UserGroup();
	}

	@Override
	protected UserGroupService<UserGroup, UserGroupDao<UserGroup>> getCrudService() {
		return new UserGroupService<UserGroup, UserGroupDao<UserGroup>>();
	}

	@SuppressWarnings("unchecked")
	@Override
	protected Class<UserGroupDao<UserGroup>> getDaoClass() {
		return (Class<UserGroupDao<UserGroup>>) new UserGroupDao<UserGroup>().getClass();
	}

}

Add a test class for the UserGroupService
Add a test class for the UserGroupService
