### Question:
UserDatabaseModelJpa implements UserDatabaseModel, Serializable { @Transactional public boolean makeLogInRecord(int userId, boolean logInSuccessfull, String usersIp) { UserEntity user = new UserEntity(); user.setId(userId); LogInRecordEntity logInRecordEntity = new LogInRecordEntity(); logInRecordEntity.setUser(user); logInRecordEntity.setTime(new Date()); logInRecordEntity.setIp(usersIp); logInRecordEntity.setSuccessful(logInSuccessfull); logInRecordEntityDao.add(logInRecordEntity); return true; }  @Transactional boolean addPasswordResetToken(PasswordResetToken token); @Transactional int addUser(User newUser); @Transactional boolean cancelAllPasswordResetTokens(int userId); @Transactional boolean confirmUserRegistration(String email); @Transactional boolean deleteUser(int userId); @Transactional int getRegisteredUserCount(Date since); PasswordResetToken getNewestPasswordResetToken(String email); User getUserByEmail(String email); User getUserByName(String name); User getUserBySocialAccount(SocialAccountDetails details); int getUserIdByEmail(String email); UserPassword getUserPassword(int userId); boolean isEmailRegistered(String email); boolean isUserNameRegistered(String name); @Transactional boolean makeLogInRecord(int userId, boolean logInSuccessfull, String usersIp); @Transactional int saveUserWithSocialAccount(User user, SocialAccountDetails details); @Transactional boolean setUserPassword(int userId, UserPassword password);  }### Answer:
@Test public void testMakeLogInRecord() throws DatabaseUnitException, SQLException, Exception { fillDatabase("userDatabaseModelHbnTest/beforeMakeLogInRecord.xml"); databaseModel.makeLogInRecord(1, false, "0000:0000:0000:0000:0000:0000:192.168.255.255"); databaseModel.makeLogInRecord(2, true, "195.210.29.1"); IDataSet expectedDataSet = loadFlatXmlDataSet("userDatabaseModelHbnTest/afterMakeLogInRecord.xml"); assertTableContent(expectedDataSet, "um_login_record", new String[] { "date_time", "id" }); }