/**
  * @test
  * @group nameid
  */
 public function a_name_id_format_list_can_be_cast_to_string()
 {
     $numberOne = NameIdFormat::emailAddress();
     $numberTwo = NameIdFormat::kerberosPrincipalName();
     $list = new NameIdFormatList(array($numberOne, $numberTwo));
     $string = sprintf('NameIdFormatList[%s, %s]', (string) $numberOne, (string) $numberTwo);
     $this->assertSame($string, (string) $list);
 }