code: public TestResult getFirstNonSuccessfulResult() {
          for (ResponsePayload payload : payloads.values()) {
  
              if (payload != null) {
  
                  TestResult testResult = payload.getTestResult();
  
                  if (testResult != null) {
                      switch (testResult.getStatus()) {
                          case FAILED:
                              return testResult;
                          case SKIPPED:
                              return testResult;
                          case PASSED:
                      }
                  }
              }
          }
  
          return null;
      }
docs: /*
  (non-Javadoc)
  @see org.jboss.arquillian.warp.impl.client.execution.WarpGroup#getFirstNonSuccessfulResult()