diff --git a/cake/tests/cases/console/libs/console_output.test.php b/cake/tests/cases/console/libs/console_output.test.php
index a6ee59a24..37fee8f5c 100644
--- a/cake/tests/cases/console/libs/console_output.test.php
+++ b/cake/tests/cases/console/libs/console_output.test.php
@@ -213,4 +213,16 @@ class ConsoleOutputTest extends CakeTestCase {
$this->output->write('Bad Regular', false);
}
+/**
+ * test plain output.
+ *
+ * @return void
+ */
+ function testOutputAsPlain() {
+ $this->output->outputAs(ConsoleOutput::PLAIN);
+ $this->output->expects($this->once())->method('_write')
+ ->with('Bad Regular');
+
+ $this->output->write('Bad Regular', false);
+ }
}
\ No newline at end of file