public function testShouldNotBeAbleToRegisterDuplicateModulePaths() { $this->helper->registerModulePath('custom', '../custom'); $this->helper->registerModulePath('custom', '../custom'); $paths = $this->helper->getModulePaths(); $this->assertEquals(1, count($paths)); $this->assertTrue(array_key_exists('custom', $paths)); $this->assertContains('../custom', $paths); }