public function testUnInstallWithInvalidData() { $modules = Registry::get('Application')->getServiceManager()->get('CustomModules'); $this->assertFalse(Model::uninstall($modules->getModule('Test'), Model::fromName('Test'))); }