1, 'resources' => 'record2'] ) ); $this->assertSame( 'An authentication error occurred. Verify and try again.', $authenticationException->getMessage() ); } }