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

public getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface
Результат PhpSchool\PhpWorkshop\Solution\SolutionInterface
 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());
 }