/** * @test */ public function shouldIgnoreDebugMessageIfDebugIsOff() { //given Config::overrideProperty('debug')->with(false); //when $this->logger->debug('My debug log line without params.'); //then $logContent = $this->_readStreamContent('test://stdout'); Assert::thatString($logContent)->hasSize(0); }