Class FactoryImplTest.  
 More...
◆ setUp()
  
  
      
        
          | ILIAS\GlobalScreen\MainMenu\FactoryImplTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 33 of file FactoryImplTest.php.
   37         $this->identification = 
new IdentificationFactory(
new NullProviderFactory());
    38         $this->provider = $this->getMockBuilder(StaticMainMenuProvider::class)->getMock();
    40         $this->
id = $this->identification->core($this->provider)->identifier(
'dummy');
    42         $this->factory = 
new MainMenuItemFactory();
  
 
 
◆ testAvailableMethods()
      
        
          | ILIAS\GlobalScreen\MainMenu\FactoryImplTest::testAvailableMethods  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 46 of file FactoryImplTest.php.
References $r.
   51         foreach (
$r->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
    52             $methods[] = $method->getName();
    61                 4 => 
'repositoryLink',
 
 
 
 
◆ testInterchangeableContraints()
      
        
          | ILIAS\GlobalScreen\MainMenu\FactoryImplTest::testInterchangeableContraints  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 71 of file FactoryImplTest.php.
   73         $this->assertInstanceOf(isInterchangeableItem::class, $this->factory->topLinkItem($this->id));
    74         $this->assertNotInstanceOf(isInterchangeableItem::class, $this->factory->topParentItem($this->id));
    75         $this->assertInstanceOf(isInterchangeableItem::class, $this->factory->complex($this->id));
    76         $this->assertInstanceOf(isInterchangeableItem::class, $this->factory->link($this->id));
    77         $this->assertInstanceOf(isInterchangeableItem::class, $this->factory->repositoryLink($this->id));
    78         $this->assertNotInstanceOf(isInterchangeableItem::class, $this->factory->separator($this->id));
  
 
 
◆ $factory
◆ $id
◆ $identification
◆ $provider
The documentation for this class was generated from the following file: