| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class MethodRegistryTest extends SapphireTest |
||
| 13 | { |
||
| 14 | public function testGetAllMethodsReturnsRegisteredMethods() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * phpcs:disable |
||
| 26 | * @expectedException UnexpectedValueException |
||
| 27 | * @expectedExceptionMessage Given method "SilverStripe\Security\Member" does not implement SilverStripe\MFA\Method\MethodInterface |
||
| 28 | * phpcs:enable |
||
| 29 | */ |
||
| 30 | public function testInvalidMethodsThrowExceptions() |
||
| 37 |