DMS\Filter\Filters\CallbackTest::testRuleWithObjectMethodInvalid PHP Method

testRuleWithObjectMethodInvalid() public method

    public function testRuleWithObjectMethodInvalid()
    {
        $this->rule->expects($this->once())->method('getInputType')->will($this->returnValue(CallbackRule::SELF_METHOD_TYPE));
        $this->rule->callback = 'callbackMissingMethod';
        $obj = new AnnotatedClass();
        $this->filter->setCurrentObject($obj);
        $this->filter->apply($this->rule, 'value');
    }