/** * Tests Cli::formatWithColor */ public function testFormatWithColorEmptyLine() { $plainText = ''; $coloredText = Cli::formatWithColor('fg-black, bg-green', $plainText); $this->assertTrue(strpos($coloredText, "[0m") === false); }