unregisterFluxDomainFormPackage() public static method

public static unregisterFluxDomainFormPackage ( string $packageName ) : void
$packageName string
return void
Beispiel #1
0
 /**
  * @test
  */
 public function canRegisterAndUnregisterPackagesForFormGeneration()
 {
     $fakePackage = 'MyFakeVendor.MyFakePackage';
     Core::registerFluxDomainFormPackage($fakePackage);
     $this->assertArrayHasKey($fakePackage, Core::getRegisteredPackagesForAutoForms());
     Core::unregisterFluxDomainFormPackage($fakePackage);
     $this->assertArrayNotHasKey($fakePackage, Core::getRegisteredPackagesForAutoForms());
 }