public function testCollectMatches() { $t = new Pregmatch(); $this->assertSame(array('asd'), $t->testPregMatchSaveMatches("asd", "#asd#")); }