SensioLabs\Insight\Sdk\Tests\ApiTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->pluginMockResponse = new MockPlugin();
        $client = new Client();
        $client->addSubscriber($this->pluginMockResponse);
        $this->logger = $this->getMock('Psr\\Log\\LoggerInterface');
        $this->api = new Api(array('api_token' => 'my-token', 'user_uuid' => 'my-user-uuid'), $client, null, $this->logger);
    }