title: Adding classes from src/test/kotlin to Corda MockNetwork nodes as a Cordapp
body: <p>Sometimes, in our Cordapp test code, we need to inject additional classes (be they additional flows, Corda services etc) as a Cordapp. Previously in Corda 3.x this was possible. It doesn't appear to be the case in Corda 4.x. </p>
  
  <p>Example:</p>
  
  <p>Given the kotlin template assume there is an additional class in the test sources for </p>
  
  <pre><code>/**
   * This service is representative of a service we use in our primary project.
   * It contains logic that's very useful from the perspective of our cordapps testing.
   * Historically in Corda 3.x we could load this service into the MockNetwork node's classpath
   * This is no longer the case. The log line in the initialiser is never called.
   */
  @CordaService
  class TestCordaService(serviceHub: AppServiceHub) : SingletonSerializeAsToken() {
  //...
  }
  </code></pre>
  
  <p>In Corda 3.x we could startup the network as follows:</p>
  
  <pre><code>MockNetwork(cordappPackages = listOf("&lt;package names&gt;"))
  </code></pre>
  
  <p>Is there a way of achieving this in Corda 4.x.</p>