public function testConnectDatabaseOnGet()
 {
     $this->client = $this->getMock('Popstas\\Transmission\\Console\\InfluxDbClient', ['connectDatabase'], [$this->influxDb, 'dbname']);
     $database = $this->getMock('InfluxDB\\Database', [], ['dbname', $this->influxDb]);
     $this->client->expects($this->once())->method('connectDatabase')->willReturn($database);
     $this->client->writePoints([]);
 }
 public function testDryRun()
 {
     $this->influxDbClient->expects($this->never())->method('writePoints');
     $this->executeCommand(['--dry-run' => true]);
 }