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