コード例 #1
0
ファイル: DataTest.php プロジェクト: aiesh/magento2
 public function testCollection()
 {
     $collection = $this->_model->getCollection();
     $collection->addScopeFilter('test', 0, 'test')->addPathFilter('not_existing_path')->addValueFilter('not_existing_value');
     $this->assertEmpty($collection->getItems());
 }