public function setUp()
 {
     parent::setUp();
     $this->settings = ['test-null' => null, 'test-int' => 123, 'test-string' => 'abc', 'test-array' => ['test-null' => null, 'test-int' => 123, 'test-string' => 'abc']];
     $this->configuration = $this->getMockery(Configuration::class)->makePartial();
     $this->setProtectedProperty($this->configuration, 'settings', $this->settings);
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->service = $this->getMockery(Service::class)->makePartial();
     $this->factory = $this->getMockery(Factory::class)->makePartial();
     $this->setProtectedProperty($this->service, 'factory', $this->factory);
     $this->filters = $this->getMockery(Filters::class)->makePartial();
     $this->setProtectedProperty($this->service, 'filters', $this->filters);
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->factory = $this->getMockery($this->className)->makePartial();
     $configuration = (include __DIR__ . '/../../source/Support/Laravel/config/smartystreetsapi.php');
     $configuration['authentication']['id'] = 'id';
     $configuration['authentication']['token'] = 'token';
     $configuration = [$configuration];
     $this->configuration = $this->getMockery(Configuration::class, $configuration)->makePartial();
     $this->setProtectedProperty($this->factory, 'configuration', $this->configuration);
 }
Exemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->filters = $this->getMockery(Filters::class)->makePartial();
 }
 public function setUp()
 {
     parent::setUp();
     $this->usStreetAddress = $this->getMockery(UsStreetAddress::class)->makePartial();
 }
Exemplo n.º 6
0
 public function setUp()
 {
     parent::setUp();
     $this->curl = $this->getMockery(cURL::class)->makePartial();
 }
 public function setUp()
 {
     parent::setUp();
     $this->guzzleHttp = $this->getMockery(GuzzleHttp::class)->makePartial();
 }
Exemplo n.º 8
0
 public function setUp()
 {
     parent::setUp();
     $this->request = $this->getMockery(Request::class)->makePartial();
 }