5use InvalidArgumentException;
32 $mb = $this->getMockBuilder( AuthenticationRequest::class )
33 ->setMethods( [
'getUniqueId' ] );
34 for ( $i = 1; $i <= 3; $i++ ) {
35 $req = $mb->getMockForAbstractClass();
36 $req->expects( $this->
any() )->method(
'getUniqueId' )
37 ->will( $this->returnValue(
"Request$i" ) );
51 [
'linkRequests' => $reqs ],
55 [
'confirmedLinkIDs' => [
'Request1',
'Request3' ] ],
56 [
'confirmedLinkIDs' => [
'Request1',
'Request3' ],
'linkRequests' => $reqs ],
64 get_class(
$req ) .
':Request1|Request2|Request3',
they could even be mouse clicks or menu items whatever suits your program You should also get your if any
this hook is for auditing only $req