Пример #1
0
 /**
  * Test unrecognized colors throws exceptions
  *
  * @depends test_class_defined
  * @expectedException BadMethodCallException
  */
 public function test_undefined_color_exception()
 {
     // Hopefully the color "yabadabadoo" is not defined. :-)
     $this->assertEquals("", ansi::yabadabadoo());
 }