示例#1
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     $this->property = new \jarekkozak\sys\PropertiesFile(['filename' => '$HOME/.secret/outlook-secret']);
     if ($this->property->getProperty('exchangeServer') == NULL) {
         echo 'Property file does not exist:';
         echo 'With content:';
         echo 'exchangeServer=exchange_address';
         echo 'exchangeUsername=username or email';
         echo 'exchangePassword=password';
     }
     //$this->mockApplication();
 }