public function testGetName() { $e = Role::factory('editor'); $this->assertEquals('editor', $e->getName()); }