/**
* @test
*/
public function shouldWriteInfoMessageIfMinimalLevelIsSetToInfo()
{
//given
Config::overrideProperty('logger', 'default', 'minimal_levels')->with(array('TEST' => LOG_INFO));
$this->logger = new StdOutputLogger('TEST', 'default', 'test');
//when
$this->logger->info('My info log line with param %s and %s.', array(42, 'Zaphod'));
//then
$logContent = $this->_readStreamContent('test://stdout');
Assert::thatString($logContent)->isNotEmpty();
}