function test_row(TUnitTest $test, TableCreator $table_creator) { $methods = array(); foreach ($test->methods as $meth) { $methods[] = $meth->name . "()"; } if (!empty($methods)) { return $table_creator->row(array($test->public_id(), $test->description, implode($methods, "\n\n"), 'Success')); } return ''; }