/** * @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()); }
/** * @return array */ private function getPrinters() { return $this->printerProvider->getPrinters(); }