コード例 #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
ファイル: TemplateDataView.php プロジェクト: rgies/dsp
 /**
  * @return array
  */
 private function getPrinters()
 {
     return $this->printerProvider->getPrinters();
 }