/** * Covered createParsers method * * @test */ public function testCreateParsers() { $parseFactory = new ParserFactory(); $parseFactory->createParsers($this->tokens); $this->assertInstanceOf('Magento\\TestFramework\\Integrity\\Library\\PhpParser\\Uses', $parseFactory->getUses()); $this->assertInstanceOf('Magento\\TestFramework\\Integrity\\Library\\PhpParser\\StaticCalls', $parseFactory->getStaticCalls()); $this->assertInstanceOf('Magento\\TestFramework\\Integrity\\Library\\PhpParser\\Throws', $parseFactory->getThrows()); }