| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function test_loads_from_file() |
||
| 12 | { |
||
| 13 | $provider = new FileEntityDescriptorProvider( |
||
| 14 | __DIR__.'/../../../../../../resources/sample/EntityDescriptor/idp-ed.xml' |
||
| 15 | ); |
||
| 16 | |||
| 17 | $entityDescriptor = $provider->get(); |
||
| 18 | |||
| 19 | $this->assertInstanceOf(EntityDescriptor::class, $entityDescriptor); |
||
| 20 | $this->assertEquals( |
||
| 21 | 'https://sts.windows.net/554fadfe-f04f-4975-90cb-ddc8b147aaa2/', |
||
| 22 | $entityDescriptor->getEntityID() |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |