N98\Magento\Command\Developer\Module\Rewrite\ConflictsCommandTest::testExecuteConflictFalsePositive PHP Method

testExecuteConflictFalsePositive() public method

This is made to look like a conflict (2 rewrites for the same class) but because Bundle extends Catalog, it's valid. Note that we're implying Bundle depends on Catalog by passing it as the second value in the array.
    public function testExecuteConflictFalsePositive()
    {
        $rewrites = array('blocks' => array('n98/mock_conflict' => array('Mage_Catalog_Block_Product_Price', 'Mage_Bundle_Block_Catalog_Product_Price')));
        $command = $this->getCommandWithMockLoadRewrites($rewrites);
        $commandTester = new CommandTester($command);
        $result = $commandTester->execute(array('command' => $command->getName()));
        $this->assertEquals(0, $result);
        $this->assertContains('No rewrite conflicts were found', $commandTester->getDisplay());
    }