コード例 #1
0
 public static function errorFromRequest(TestRequest $request, $message)
 {
     return new TestResult(['testId' => $request->getId(), 'class' => $request->getClass(), 'name' => $request->getName(), 'filename' => $request->getFilename(), 'errors' => [new Error(['message' => $message])]]);
 }