| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function testGetAllDocumentTypes() |
||
| 9 | { |
||
| 10 | |||
| 11 | $ref = new \ReflectionClass('Dokobit\Gateway\DocumentTypeProvider'); |
||
| 12 | $this->assertEquals(count($ref->getConstants()) - 1, count(DocumentTypeProvider::getAllDocumentTypes())); // -1 due to 'asic' not really being a separate file type |
||
| 13 | } |
||
| 20 |