/** * @dataProvider isActiveData * * @param $expected * @param $value */ public function testIsActive($expected, $value) { $filter = new FilterTest_Filter(); $filter->setValue($value); $this->assertEquals($expected, $filter->isActive()); }
/** * @expectedException RunTimeException */ public function testExceptionOnNonDefinedFieldName() { $filter = new FilterTest_Filter(); $filter->getFieldName(); }