示例#1
0
文件: GcpTest.php 项目: rgies/dsp
 /**
  * @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());
 }
示例#2
0
 /**
  * @return array
  */
 private function getPrinters()
 {
     return $this->printerProvider->getPrinters();
 }