public function LoggerInterfaceTest::testThrowsOnInvalidLevel in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Psr/Log/Test/LoggerInterfaceTest.php \Psr\Log\Test\LoggerInterfaceTest::testThrowsOnInvalidLevel()
@expectedException Psr\Log\InvalidArgumentException
File
- lib/
Psr/ Log/ Test/ LoggerInterfaceTest.php, line 66
Class
- LoggerInterfaceTest
- Provides a base test class for ensuring compliance with the LoggerInterface
Namespace
Psr\Log\TestCode
public function testThrowsOnInvalidLevel() {
$logger = $this
->getLogger();
$logger
->log('invalid level', 'Foo');
}