/** * * @param Edges $edges * @depends testTwo */ public function testTwoMatch(Edges $edges) { $edgesMatch = $edges->getEdgesMatch(array($this, 'returnTrue')); $this->assertEquals($edges->getVector(), $edgesMatch->getVector()); $edgeMatch = $edges->getEdgeMatch(array($this, 'returnTrue')); $this->assertEquals($edges->getEdgeFirst(), $edgeMatch); }