getType() публичный Метод

public getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType
Результат PhpSchool\PhpWorkshop\Exercise\ExerciseType
 public function testDependencyHeavenExercise()
 {
     $e = new DependencyHeaven($this->faker);
     $this->assertEquals('Dependency Heaven', $e->getName());
     $this->assertEquals('An introduction to Composer dependency management', $e->getDescription());
     $this->assertEquals(ExerciseType::CGI, $e->getType());
     $this->assertInstanceOf(SolutionInterface::class, $e->getSolution());
     $this->assertFileExists(realpath($e->getSolution()->getEntryPoint()));
     $this->assertFileExists(realpath($e->getProblem()));
     $this->assertNull($e->tearDown());
 }