public function testGetIdType() { $lookup = new Lookup(); $valididTypes = ['ASIN', 'SKU', 'UPC', 'EAN', 'ISBN', Lookup::TYPE_ASIN, Lookup::TYPE_SKU, Lookup::TYPE_UPC, Lookup::TYPE_EAN, Lookup::TYPE_ISBN]; foreach ($valididTypes as $valididType) { $lookup->setIdType($valididType); $this->assertEquals($valididType, $lookup->getIdType()); } }