Ejemplo n.º 1
0
 /**
  * @return TaxRateServiceInterface|Mockery\Mock
  */
 public function getTaxRateService()
 {
     $taxRate = $this->dummyData->getTaxRate();
     $service = $this->getMockeryMock(TaxRateServiceInterface::class);
     $service->shouldReceive('findByZip5AndState')->andReturn($taxRate);
     $service->shouldReceive('findAll')->andReturn([$taxRate]);
     return $service;
 }