public function testMatches(PointFilter $first, PointFilter $second, $expected) { $filter = new OrPointFilter($first, $second); $result = $filter->matches(new \ReflectionClass(__CLASS__)); $this->assertSame($expected, $result); }