public $actual;
/**
- * @param $description string A short text describing the parser test
- * usually the text in the parser test .txt file. The description
- * is later available using the property $description.
+ * @param string $description A short text describing the parser test
+ * usually the text in the parser test .txt file. The description
+ * is later available using the property $description.
*/
public function __construct( $description ) {
$this->description = $description;
}
- /** Whether the test passed */
+ /**
+ * Whether the test passed
+ * @return bool
+ */
public function isSuccess() {
return $this->expected === $this->actual;
}