/** * Make sure that superuser has access to view the article. * * @depends testUpdate */ public function testViewAccess() { $path = new Path('node/' . self::$articleId); $this->assertTrue($path->hasAccess(), 'Superuser does not have access to view an article.'); $articleObject = new Article(self::$articleId); $articleObject->verify($this); $this->assertTrue($articleObject->hasViewAccess(), "Superuser does not have access to view an article."); }