/** * @test */ public function parseNormal() { \Phake::when($this->parser)->parse(\Phake::anyParameters())->thenReturn(null); $path = __DIR__ . '/../fixtures/1'; $this->projectParser->parse($path); \Phake::verify($this->parser, \Phake::times(3))->parse(\Phake::anyParameters()); }
public function retrieveData() { $mParser = new ProjectParser(); $mParser->retrieveInfoForObject($this); }