コード例 #1
0
 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());
 }
コード例 #2
0
 private void checkEmployeeId(Employee employee, String name, String id) {
   assertNotNull(employee);
   assertEquals(name, employee.getName());
   assertEquals(id, employee.getId());
 }