public function testGetUsedProductIds() { $ids = $this->_model->getUsedProductIds($this->_product); $this->assertInternalType('array', $ids); $this->assertTrue(2 === count($ids)); // impossible to check actual IDs, because they are dynamic in the fixture }