/** * Tests that the export collection does not accept stdClass items. */ public function testCollectionValidationForObject() { $this->setExpectedException('NostoException'); $collection = new NostoExportProductCollection(); $collection->append(new stdClass()); }