public function testAuthorisedLevels() { $user = new JUser(0); $this->assertThat( $user->authorisedLevels(), $this->equalTo(array(1)), 'Line: ' . __LINE__ . ' User 0 should have level 1 only' ); }