public function testSetAndGetRole() { $n = new Nav(); $role = Auth\Role::factory('basic'); $n->setRole($role); $this->assertInstanceOf('Pop\\Auth\\Role', $n->getRole()); }