public function testIsQty() { $configData = [1 => ['is_qty' => 1], 2 => ['is_qty' => 2], 3 => ['is_qty' => 3]]; $productTypeId = 1; $this->configMock->expects($this->any())->method('getAll')->willReturn($configData); $this->assertEquals($productTypeId, $this->model->isQty($productTypeId)); }