public function testGetParamsWithOptions() { $params = ['status' => 'new', 'client' => ['test_me' => 'hard']]; $this->endpoint->shouldReceive('getParamWhiteList')->andReturn(['status']); $this->endpoint->setParams($params); $this->assertEquals($params, $this->endpoint->getParams()); }