hasRevisions(); $this->assertTrue($result); } /** * test page has no revisions */ function test_norevisions() { $id = 'nonexist'; $pagelog = new PageChangeLog($id); $result = $pagelog->hasRevisions(); $this->assertFalse($result); } }