From ddcc242a15a36c606e35c1747cd6a38a1736b426 Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Sat, 9 Feb 2019 15:11:54 +0100
Subject: [PATCH] Tests

---
 tests/unit/Client/TestClientFactory.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/unit/Client/TestClientFactory.php b/tests/unit/Client/TestClientFactory.php
index 83dc5a9..553524d 100644
--- a/tests/unit/Client/TestClientFactory.php
+++ b/tests/unit/Client/TestClientFactory.php
@@ -15,6 +15,10 @@ class TestClientFactory extends \PHPUnit\Framework\TestCase
     private function prepareOptions($isCachedClient = false)
     {
         $options = Mockery::mock(\WPDesk\ApiClient\Client\ApiClientOptions::class);
+        $options->shouldReceive('getApiClientClass')
+                ->withAnyArgs()
+                ->andReturn(\WPDesk\ApiClient\Client\ClientImplementation::class);
+
         $options->shouldReceive('getHttpClientClass')
                 ->withAnyArgs()
                 ->andReturn(\WPDesk\HttpClient\Curl\CurlClient::class);
-- 
GitLab