public function testUsingIndexMethod() { $match = new MatchClause($this->query, 'n'); $using = $match->usingIndex('n:Person(name)'); $this->assertInstanceOf('EndyJasmi\\Neo4j\\Clause\\UsingClause', $using); $using = $match->usingIndex('n:Person(name)'); $this->assertInstanceOf('EndyJasmi\\Neo4j\\Clause\\UsingClause', $using); }