public function testInfo() { $context = array("foo" => "bar"); Simple::info("hello", $context); $this->assertTrue($this->handler->hasinfoRecords()); foreach ($this->handler->getRecords() as $record) { $this->assertEquals("hello", $record['message']); $this->assertEquals("INFO", $record['level_name']); $this->assertEquals($context, $record['context']); } }