- $this->assertCount( 2, $ex->sessionInfos );
- $this->assertContains( $request->info1, $ex->sessionInfos );
- $this->assertContains( $request->info2, $ex->sessionInfos );
+ $this->assertCount( 2, $ex->getSessionInfos() );
+ $this->assertContains( $request->info1, $ex->getSessionInfos() );
+ $this->assertContains( $request->info2, $ex->getSessionInfos() );