public function testGettingOrderShipmentReturnsTheOrderShipmentResource() { $this->connection->expects($this->once())->method('get')->with($this->basePath . '/orders/1/shipments/1', false)->will($this->returnValue(array(array(), array()))); $resource = Client::getShipment(1, 1); $this->assertInstanceOf('Bigcommerce\\Api\\Resources\\Shipment', $resource); }