Author: Tim Wagner (tw@appserver.io)
Inheritance: extends AppserverIo\Appserver\Core\Api\AbstractFileOperationService
 /**
  * Prepare's the system properties for the actual mode, which is the runner mode in our case.
  *
  * @param \AppserverIo\Properties\PropertiesInterface $properties The properties to prepare
  * @param string                                      $webappPath The path of the web application to prepare the properties with
  *
  * @return void
  */
 protected function prepareSystemProperties(PropertiesInterface $properties, $webappPath)
 {
     // let the parent method also prepare the properties
     parent::prepareSystemProperties($properties, $webappPath);
     // replace the host's application base directory with the parent directory
     $properties->add(SystemPropertyKeys::HOST_APP_BASE, dirname($webappPath));
 }
 /**
  * Test if the load() method returns the NULL for an invalid primary key.
  *
  * @return null
  */
 public function testLoadWithInvalidPrimaryKey()
 {
     $this->assertNull($this->service->load('invalidPrimaryKey'));
 }