Exemple #1
0
 /**
  * @test
  */
 public function itShouldReturnAllPrinters()
 {
     $expected = array(new Config('1', 'horst', true), new Config('2', 'peter', true), new Config('3', 'walter', false));
     $this->assertEquals($expected, $this->gcpProvider->getPrinters());
 }
Exemple #2
0
 /**
  * @return array
  */
 private function getPrinters()
 {
     return $this->printerProvider->getPrinters();
 }