use of no.nav.pto.veilarbportefolje.domene.AktorClient in project veilarbportefolje by navikt.
the class BrukerServiceTest method setUp.
@Before
public void setUp() {
db = new JdbcTemplate(setupInMemoryDatabase());
brukerRepository = new BrukerRepository(db, null, mock(UnleashService.class));
aktorClient = mock(AktorClient.class);
opensearchIndexerV2 = mock(OpensearchIndexerV2.class);
brukerService = new BrukerService(brukerRepository, aktorClient, opensearchIndexerV2);
db.execute("TRUNCATE TABLE OPPFOLGINGSBRUKER");
db.execute("truncate table AKTOERID_TO_PERSONID");
insert(db, "OPPFOLGINGSBRUKER").value("FODSELSNR", FNR).value("PERSON_ID", PERSON_ID).execute();
}
Aggregations