Buggy code:
public class UpdateEmployeeConverterTest { @ Test public void testUpdateEmployeeSuccessExecute ( ) throws Exception { EmployeeDTO dto = new EmployeeDTO ( ) ; dto . setId ( "1" ) ; dto . setCode ( "001" ) ; dto . setFirstName ( "fName" ) ; dto . setMiddleName ( "mName" ) ; dto . setLastName ( "lName" ) ; dto . setDateOfBirth ( "1990//01//01" ) ; dto . setAddressLine1 ( "7,Shakti<seq2seq4repair_space>Park<seq2seq4repair_space>Soc" ) ; dto . setAddressLine2 ( "College<seq2seq4repair_space>Road" ) ; dto . setCity ( "Nadiad" ) ; dto . setState ( "Gujarat" ) ; dto . setCountry ( "India" ) ; dto . setZipCode ( "387001" ) ; dto . setPhone ( "+91-9876543210" ) ; dto . setEmail ( "fname@gmail.com" ) ; dto . setGender ( "Male" ) ; dto . setDateOfJoining ( "2015//07//01" ) ; dto . setIsActive ( true ) ; ProcessError processError = new ProcessError ( ) ; UpdateEmployeeConverter updateEmployeeConverter = new UpdateEmployeeConverter ( ) ; ProcessCommand command = updateEmployeeConverter . convert ( dto , processError ) ; assertTrue ( "Conversion<seq2seq4repair_space>error<seq2seq4repair_space>occurred" , processError . isValid ( ) ) ; assertTrue ( ( "Wrong<seq2seq4repair_space>output<seq2seq4repair_space>" + command ) , ( command instanceof UpdateEmployee ) ) ; UpdateEmployee updateEmployee = ( ( UpdateEmployee ) ( command ) ) ; <START_BUG> assertEquals ( "Id<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getId ( ) , Integer . toString ( updateEmployee . getId ( ) ) ) ; <END_BUG> assertEquals ( "Code<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getCode ( ) , updateEmployee . getCode ( ) ) ; assertEquals ( "firstName<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getFirstName ( ) , updateEmployee . getFirstName ( ) ) ; assertEquals ( "middleName<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getMiddleName ( ) , updateEmployee . getMiddleName ( ) ) ; assertEquals ( "lastName<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getLastName ( ) , updateEmployee . getLastName ( ) ) ; assertEquals ( "dateOfBirth<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getDateOfBirth ( ) , DateHelper . toDateString ( updateEmployee . getDateOfBirth ( ) ) ) ; assertEquals ( "AddressLine1<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getAddressLine1 ( ) , updateEmployee . getAddressLine1 ( ) ) ; assertEquals ( "AddressLine2<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getAddressLine2 ( ) , updateEmployee . getAddressLine2 ( ) ) ; assertEquals ( "City<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getCity ( ) , updateEmployee . getCity ( ) ) ; assertEquals ( "State<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getState ( ) , updateEmployee . getState ( ) ) ; assertEquals ( "Country<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getCountry ( ) , updateEmployee . getCountry ( ) ) ; assertEquals ( "ZipCode<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getZipCode ( ) , updateEmployee . getZipCode ( ) ) ; assertEquals ( "Phone<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getPhone ( ) , updateEmployee . getPhone ( ) ) ; assertEquals ( "Email<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getEmail ( ) , updateEmployee . getEmail ( ) ) ; assertEquals ( "Gender<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getGender ( ) , updateEmployee . getGender ( ) ) ; assertEquals ( "DateOfJoining<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getDateOfJoining ( ) , DateHelper . toDateString ( updateEmployee . getDateOfJoining ( ) ) ) ; assertEquals ( "isActive<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getIsActive ( ) , updateEmployee . getIsActive ( ) ) ; } }

Fix:
assertEquals ( "Id<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>mapped" , dto . getId ( ) , Long . toString ( updateEmployee . getId ( ) ) ) ;