public function testFromStringFailure() { $param = new ezcConsoleInput(); try { $param->registerOptionString('[a:]'); } catch (ezcConsoleOptionStringNotWellformedException $e) { return; } $this->fail("Exception not thrown on not wellformed option string."); }