Resolved discussions.
This commit is contained in:
parent
f7f6bbe79b
commit
0d46cd91b8
|
@ -30,13 +30,11 @@ public class ProgrammaticEmployeesUnitTest {
|
|||
public void whenAddEmployee_thenGetEmployee() throws SQLException {
|
||||
Employee emp = new Employee(1, "john");
|
||||
employeeDao.add(emp);
|
||||
assertEquals(1, employeeDao.findAll()
|
||||
.size());
|
||||
assertEquals(1, employeeDao.findAll().size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void whenGetEmployees_thenEmptyList() throws SQLException {
|
||||
assertEquals(0, employeeDao.findAll()
|
||||
.size());
|
||||
assertEquals(0, employeeDao.findAll().size());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue