/**
* @test
*/
public function shouldWriteErrorMessage()
{
//when
$this->logger->error('My error log line with param %s and %s.', array(42, 'Zaphod'));
//then
$logContent = $this->_readStreamContent('test://stderr');
Assert::thatString($logContent)->contains('2014-01-01 11:11:11: TEST Error: [ID: ] My error log line with param 42 and Zaphod.');
}