public function testGettingOptionValuesReturnsCollectionOfOptionValues() { $this->connection->expects($this->once())->method('get')->with($this->basePath . '/options/values', false)->will($this->returnValue(array(array(), array()))); $collection = Client::getOptionValues(); $this->assertInternalType('array', $collection); foreach ($collection as $resource) { $this->assertInstanceOf('Bigcommerce\\Api\\Resources\\OptionValue', $resource); } }