public function testRedefineStyle() { $formatter = new OutputFormatter(true); $style = new OutputFormatterStyle('blue', 'white'); $formatter->setStyle('info', $style); $this->assertEquals("[34;47msome custom msg[39;49m", $formatter->format('<info>some custom msg</info>')); }