public function testLogBadLevel() { $logger = new TestLogger(); $logger->log('BAD_LEVEL', 'testMessage'); $this->assertEquals(1, count($logger->get(LogLevel::ERROR))); }