◆ setUp()
  
  
      
        
          | ilCertificateTypeClassMapTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testFetchCoursePlaceHolderClass()
      
        
          | ilCertificateTypeClassMapTest::testFetchCoursePlaceHolderClass  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 33 of file ilCertificateTypeClassMapTest.php.
   33                                                     : void
   34    {
   35        $class = $this->classMap->getPlaceHolderClassNameByType('crs');
   36 
   37        $this->assertSame(ilCoursePlaceholderValues::class, $class);
   38    }
 
 
 
◆ testFetchExercisePlaceHolderClass()
      
        
          | ilCertificateTypeClassMapTest::testFetchExercisePlaceHolderClass  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 47 of file ilCertificateTypeClassMapTest.php.
   47                                                       : void
   48    {
   49        $class = $this->classMap->getPlaceHolderClassNameByType('exc');
   50 
   51        $this->assertSame(ilExercisePlaceholderValues::class, $class);
   52    }
 
 
 
◆ testFetchScormPlaceHolderClass()
      
        
          | ilCertificateTypeClassMapTest::testFetchScormPlaceHolderClass  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 54 of file ilCertificateTypeClassMapTest.php.
   54                                                    : void
   55    {
   56        $class = $this->classMap->getPlaceHolderClassNameByType('sahs');
   57 
   58        $this->assertSame(ilScormPlaceholderValues::class, $class);
   59    }
 
 
 
◆ testFetchTestPlaceHolderClass()
      
        
          | ilCertificateTypeClassMapTest::testFetchTestPlaceHolderClass  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 40 of file ilCertificateTypeClassMapTest.php.
   40                                                   : void
   41    {
   42        $class = $this->classMap->getPlaceHolderClassNameByType('tst');
   43 
   44        $this->assertSame(ilTestPlaceholderValues::class, $class);
   45    }
 
 
 
◆ testFetchUnknownClassWillResultInException()
      
        
          | ilCertificateTypeClassMapTest::testFetchUnknownClassWillResultInException  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 61 of file ilCertificateTypeClassMapTest.php.
   61                                                                : void
   62    {
   63        $this->expectException(ilException::class);
   64 
   65        $class = $this->classMap->getPlaceHolderClassNameByType('something');
   66 
   67        $this->fail('Should never happen. No Exception thrown?');
   68    }
 
 
 
◆ testIsCourseExisting()
      
        
          | ilCertificateTypeClassMapTest::testIsCourseExisting  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testIsExerciseExisting()
      
        
          | ilCertificateTypeClassMapTest::testIsExerciseExisting  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testIsTestExisting()
      
        
          | ilCertificateTypeClassMapTest::testIsTestExisting  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testUnknownTypeIsNotExisting()
      
        
          | ilCertificateTypeClassMapTest::testUnknownTypeIsNotExisting  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 91 of file ilCertificateTypeClassMapTest.php.
   91                                                  : void
   92    {
   93        $result = $this->classMap->typeExistsInMap('something');
   94 
   95        $this->assertFalse($result);
   96    }
 
 
 
◆ $classMap
The documentation for this class was generated from the following file: