title: Junit5 @ParameterizedTest How to pass array as one of parameter
body: <p>I have a test in which I want to pass three parameters:</p>
  
  <ol>
  <li>String</li>
  <li>Enum</li>
  <li>Array of Strings</li>
  </ol>
  
  <p>Example:</p>
  
  <pre><code>@ParameterizedTest
      @CsvSource({
              "/path/to/first/file.xlsx, FIRST, {THIRD PARAMETER SHOULD BE ARRAY OF STRINGS}",
              "/path/to/second/file.xlsx, SECOND, {THIRD PARAMETER SHOULD BE ARRAY OF STRINGS}"})
      void uploadFile(String path, FileType type, String[] errors) {
          HttpEntity httpEntity = prepareFileUploadEntity(path, type);
  
          ResponseEntity&lt;ArrayList&gt; response = getRestTemplate(AppRole.USER).exchange(UPLOAD_URL, HttpMethod.POST, httpEntity, ArrayList.class);
  
          assertNotNull(response);
          assertEquals(HttpStatus.BAD_REQUEST, response.getStatusCode());
          assertEquals(errors.length, response.getBody().size());
          for (String error : errors) {
              assertTrue(response.getBody().contains(error));
          }
      }
  </code></pre>
  
  <p>How can I pass the third parameter as an array of strings, cause now I have the error that third parameter can`t be resolved:</p>
  
  <pre><code>org.junit.jupiter.api.extension.ParameterResolutionException: Error resolving parameter at index 2
  </code></pre>