@@ -0,0 +1,1222 @@
+package com.yammer.stresstime.managers;%0A%0Aimport com.google.common.collect.Lists;%0Aimport com.yammer.stresstime.entities.Employee;%0Aimport com.yammer.stresstime.entities.Group;%0Aimport com.yammer.stresstime.entities.User;%0Aimport com.yammer.stresstime.test.DatabaseTest;%0Aimport com.yammer.stresstime.test.TestUtils;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport java.util.List;%0A%0Aimport static com.yammer.stresstime.test.TestUtils.assertCauses;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.IsEqual.equalTo;%0Aimport static org.junit.Assert.assertNotNull;%0Aimport static org.junit.Assert.assertNull;%0A%0Apublic class GroupManagerTest extends BaseManagerTest%3CGroup%3E %7B%0A%0A    private GroupManager groupManager;%0A    List%3CGroup%3E testGroups;%0A%0A    @Override%0A    protected EntityManager%3CGroup%3E getEntityManager() %7B%0A        return groupManager;%0A    %7D%0A%0A    @Override%0A    protected List%3CGroup%3E getEntities() %7B%0A        return testGroups;%0A    %7D%0A%0A    @Override%0A    protected void initialize() %7B%0A        groupManager = new GroupManager(getSessionFactory());%0A        testGroups = Lists.newArrayList(new Group(%22Core Services%22), new Group(%22API%22), new Group(%22IOS%22));%0A    %7D%0A%7D%0A

Create GroupManagerTest