package Ġfi . hel . h ait aton . han ke Ċ Ċ import Ġfi . hel . h ait aton . han ke . ge ometri a . Han ke Ge ometri at Dao Ċ import Ġfi . hel . h ait aton . han ke . ge ometri a . Han ke Ge ometri at Service Ċ import Ġfi . hel . h ait aton . han ke . logging . Personal Data Audit Log Repository Ċ import Ġfi . hel . h ait aton . han ke . organ isa atio . Organ isa atio Service Ċ import Ġfi . hel . h ait aton . han ke . t orm ay st ark ast el u . T orm ay st ark ast el u Dao Ċ import Ġfi . hel . h ait aton . han ke . t orm ay st ark ast el u . T orm ay st ark ast el u L ask enta Service Ċ import Ġfi . hel . h ait aton . han ke . t orm ay st ark ast el u . T orm ay st ark ast el u Lu okit tel u Service Ċ import Ġfi . hel . h ait aton . han ke . t orm ay st ark ast el u . T orm ay st ark ast el u T ulos Repository Ċ import Ġio . mock k . Runs Ċ import Ġio . mock k . every Ċ import Ġio . mock k . mock k Ċ import Ġio . mock k . mock k Static Ċ import Ġio . sentry . S entry Ċ import Ġio . sentry . protocol . S entry Id Ċ import Ġorg . springframework . boot . test . context . Test Configuration Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Profile Ċ import Ġorg . springframework . context . event . Context Ref reshed Event Ċ import Ġorg . springframework . context . event . EventListener Ċ import Ġorg . springframework . jdbc . core . Jdbc Operations Ċ Ċ @ Test Configuration Ċ @ Profile (" it est ") Ċ class ĠIntegration Test Configuration Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġjdbc Operations (): ĠJdbc Operations Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhan ke Repository (): ĠHan ke Repository Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġpersonal Data Audit Log Repository (): ĠPersonal Data Audit Log Repository Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġpersonal Data Change Log Repository (): ĠPersonal Data Audit Log Repository Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġh ank et un nus Service (): ĠH ank et un nus Service Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhan ke Service (): ĠHan ke Service Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġorgan isa atio Service (): ĠOrgan isa atio Service Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhan ke Ge ometri at Dao ( jdbc Operations : ĠJdbc Operations ): ĠHan ke Ge ometri at Dao Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhan ke Ge ometri at Service ( service : ĠHan ke Service , Ġhan ke Ge ometri at Dao : ĠHan ke Ge ometri at Dao ): ĠHan ke Ge ometri at Service Ġ= ĊĠĠĠĠĠĠĠ Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġt orm ay st ark ast el u Dao ( jdbc Operations : ĠJdbc Operations ): ĠT orm ay st ark ast el u Dao Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġt orm ay st ark ast el u Pa ik ka Service ( t orm ay st ark ast el u Dao : ĠT orm ay st ark ast el u Dao ): ĠT orm ay st ark ast el u Lu okit tel u Service Ġ= ĊĠĠĠĠĠĠĠ Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġt orm ay st ark ast el u L ask enta Service ( ĊĠĠĠĠĠĠĠ Ġhan ke Service : ĠHan ke Service , ĊĠĠĠĠĠĠĠ Ġlu okit tel u Service : ĠT orm ay st ark ast el u Lu okit tel u Service ĊĠĠĠ Ġ): ĠT orm ay st ark ast el u L ask enta Service Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġt orm ay st ark ast el u T ulos Repository (): ĠT orm ay st ark ast el u T ulos Repository Ġ= Ġmock k () ĊĊĠĠĠ Ġ@ EventListener ĊĠĠĠ Ġfun Ġon Application Event ( event : ĠContext Ref reshed Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġdisable ĠS entry Ġby Ġmock ing Ġit ĊĠĠĠĠĠĠĠ Ġmock k Static ( S entry :: class ) ĊĠĠĠĠĠĠĠ Ġevery Ġ{ ĠS entry . capture Exception ( any ()) Ġ} Ġreturns ĠS entry Id () ĊĠĠĠ Ġ} Ċ } Ċ