import org.onap.portal.domain.db.fn.FnLanguage;
import org.onap.portal.domain.db.fn.FnLuTimezone;
import org.onap.portal.domain.db.fn.FnUser;
import org.onap.portal.domain.db.fn.FnLanguage;
import org.onap.portal.domain.db.fn.FnLuTimezone;
import org.onap.portal.domain.db.fn.FnUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
expected.setUserId(123L);
expected.setFirstName("Demo");
expected.setLastName("User");
expected.setUserId(123L);
expected.setFirstName("Demo");
expected.setLastName("User");
expected.setLoginId("demo");
expected.setLoginPwd("demo123");
expected.setLastLoginDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setLoginId("demo");
expected.setLoginPwd("demo123");
expected.setLastLoginDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setCreatedDate(LocalDateTime.parse("2016-10-14T21:00"));
expected.setModifiedId(actual);
expected.setModifiedDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setCreatedDate(LocalDateTime.parse("2016-10-14T21:00"));
expected.setModifiedId(actual);
expected.setModifiedDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setStateCd("NJ");
expected.setCountryCd("US");
expected.setLanguageId(fnLanguageService.findById(1L).orElse(new FnLanguage()));
expected.setStateCd("NJ");
expected.setCountryCd("US");
expected.setLanguageId(fnLanguageService.findById(1L).orElse(new FnLanguage()));
expected.setLoginId("demo");
expected.setLoginPwd("demo123");
expected.setLastLoginDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setLoginId("demo");
expected.setLoginPwd("demo123");
expected.setLastLoginDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setCreatedDate(LocalDateTime.parse("2016-10-14T21:00"));
expected.setModifiedId(actual);
expected.setModifiedDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setCreatedDate(LocalDateTime.parse("2016-10-14T21:00"));
expected.setModifiedId(actual);
expected.setModifiedDate(LocalDateTime.parse("2019-08-08T12:18:17"));
expected.setStateCd("NJ");
expected.setCountryCd("US");
expected.setTimezone(fnLuTimezoneService.getById(10L).orElse(new FnLuTimezone()));
expected.setStateCd("NJ");
expected.setCountryCd("US");
expected.setTimezone(fnLuTimezoneService.getById(10L).orElse(new FnLuTimezone()));