public function testGetName() { $p = Resource::factory('page'); $this->assertEquals('page', $p->getName()); }