title: JUnit Tests error: java.lang.NoClassDefFoundError: org/junit/platform/commons/PreconditionViolationException
body: <p>First of all I'm using VSCODE (using the Java Test Runner extension) to write this program in Java and when trying to run tests I receive this error:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: org/junit/platform/commons/PreconditionViolationException
      at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.createFilteredTest(JUnit5TestLoader.java:70)
      at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.createTest(JUnit5TestLoader.java:64)
      at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.loadTests(JUnit5TestLoader.java:53)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:526)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210)
  Caused by: java.lang.ClassNotFoundException: org.junit.platform.commons.PreconditionViolationException
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      ... 7 more
  
  </code></pre>
  
  <p>I'm using Gradle and here are my dependencies:</p>
  
  <pre><code>dependencies {
      implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:1.4.3'
      implementation 'com.owlike:genson:1.5'
      implementation 'com.google.code.gson:gson:2.8.5'
      implementation 'com.fasterxml.jackson.core:jackson-databind:2.10.1'
  
      testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
      testImplementation 'org.assertj:assertj-core:3.11.1'
      testImplementation 'org.mockito:mockito-core:2.+'
  }
  
  </code></pre>