/**
  * @expectedException \Dewdrop\Fields\Exception
  */
 public function testExceptionIsThrownWhenModifierDoesNotReturnASelectObject()
 {
     $modifier = $this->getMock('\\Dewdrop\\Fields\\Helper\\SelectModifierInterface', array('modifySelect', 'setPrefix', 'getPrefix', 'matchesName'), array());
     $select = $this->model->select()->from('dewdrop_test_fruits');
     $modifier->expects($this->any())->method('modifySelect')->will($this->returnValue(null));
     $this->listing->registerSelectModifier($modifier);
     $this->listing->getModifiedSelect($this->getFields());
 }