Ejemplo n.º 1
0
 public function test__profile_id_and_own_role_set_in_constructor()
 {
     $profileContext = new ProfileContext(Profiles::METADATA, ProfileContext::ROLE_IDP);
     $this->assertEquals(Profiles::METADATA, $profileContext->getProfileId());
     $this->assertEquals(ProfileContext::ROLE_IDP, $profileContext->getOwnRole());
 }