@@ -0,0 +1,1046 @@
+package com.yammer.stresstime.entities;%0A%0Aimport com.yammer.stresstime.managers.EmployeeManager;%0Aimport com.yammer.stresstime.test.DatabaseTest;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.collection.IsEmptyCollection.empty;%0Aimport static org.junit.Assert.assertNotNull;%0A%0Apublic class EmployeeTest extends DatabaseTest %7B%0A%0A    private EmployeeManager mEmployeeManager;%0A%0A    @Before%0A    @Override%0A    public void setUp() throws Exception %7B%0A        super.setUp();%0A        mEmployeeManager = new EmployeeManager(getSessionFactory());%0A    %7D%0A%0A    @Test%0A    public void testNewHasEmptyAssignmentsAfterRetrievedFromDb() %7B%0A        Employee employee = new Employee();%0A        employee.setName(%22John Doe%22);%0A        employee.setYammerId(%22lorem%22);%0A        mEmployeeManager.save(employee);%0A        refresh(employee);%0A%0A        assertNotNull(employee.getAssignments());%0A        assertThat(employee.getAssignments(), empty());%0A%0A        mEmployeeManager.delete(employee);%0A    %7D%0A%7D%0A

Add test for Employee entity