### Question:
EmployeeBean { public List<Employee> get() { return em.createNamedQuery("Employee.findAll", Employee.class).getResultList(); }  List<Employee> get();  }### Answer:
@Test public void testGet() throws Exception { assertNotNull(bean); List<Employee> list = bean.get(); assertNotNull(list); assertEquals(8, list.size()); assertFalse(list.contains(new Employee("Penny"))); assertFalse(list.contains(new Employee("Sheldon"))); assertFalse(list.contains(new Employee("Amy"))); assertFalse(list.contains(new Employee("Leonard"))); assertFalse(list.contains(new Employee("Bernadette"))); assertFalse(list.contains(new Employee("Raj"))); assertFalse(list.contains(new Employee("Howard"))); assertFalse(list.contains(new Employee("Priya"))); }