void function ( ) { emp . setCode ( 11 ) ; emp . setName ( "srini_string" ) ; emp . setCity ( "srini_string" ) ; empService . setEmployeeList ( employeeList ) ; empList . add ( null ) ; empService . addEmployee ( emp ) ; assertNotSame ( empList , empService . getEmployeeList ( ) ) ; }
pass emplist as null and check weather employee list return from empservice and actual emplist are not same concode_field_sep Employee employee concode_elem_sep List<Employee> empList concode_elem_sep EmployeeService empService concode_elem_sep List<Employee> employeeList concode_elem_sep Employee emp concode_field_sep void findByEmployeeCodeFalse concode_elem_sep void deleteEmployeeTrue concode_elem_sep void deleteEmployeeFalse concode_elem_sep void editEmployeeFalse concode_elem_sep void editEmployeeTrue concode_elem_sep void testAddTrue concode_elem_sep void findByEmployeeCodeTrue