public function testGetSetUriResourceStrategy() { $this->assertInstanceOf('Matryoshka\\Model\\Wrapper\\Rest\\UriResourceStrategy\\UriResourceStrategyInterface', $this->restClient->getUriResourceStrategy()); $strategy = $this->getMock('Matryoshka\\Model\\Wrapper\\Rest\\UriResourceStrategy\\UriResourceStrategyInterface'); /** @var $strategy \Matryoshka\Model\Wrapper\Rest\UriResourceStrategy\UriResourceStrategyInterface */ $this->restClient->setUriResourceStrategy($strategy); $this->assertSame($strategy, $this->restClient->getUriResourceStrategy()); }