2 is() returns the result of the Validator object that it is used with
7 require_once dirname(__FILE__) . '/../_setup.inc';
8 require_once dirname(__FILE__) . '/_foobar-validator.inc';
10 $case = new PHPT_Case(new PHPT_SectionList(), dirname(__FILE__) . '/fake-test-case.phpt');
12 $validator = new FooBarValidator();
13 assert('$case->is($validator) == true');
15 $validator->return = false;
16 assert('$case->is($validator) == false');