/** * @expectedException \Magento\Framework\Exception\InputException */ public function testAddWithInvalidData() { $this->groupPriceManagement->add('product_sku', 1, '10string'); }