private void checkEmployee( Employee employee, String name, Integer age, Double payment, Double bonus) { assertNotNull(employee); assertEquals(name, employee.getName()); assertEquals(age, employee.getAge()); assertEquals(payment, employee.getPayment()); assertEquals(bonus, employee.getBonus()); }
private void checkEmployeeId(Employee employee, String name, String id) { assertNotNull(employee); assertEquals(name, employee.getName()); assertEquals(id, employee.getId()); }