PhpSchool\LearnYouPhpTest\Exercise\ConcernedAboutSeparationTest::testConcernedAboutSeparationExercise PHP Method

testConcernedAboutSeparationExercise() public method

    public function testConcernedAboutSeparationExercise()
    {
        $e = new ConcernedAboutSeparation($this->filesystem, $this->faker, $this->parser);
        $this->assertEquals('Concerned about Separation?', $e->getName());
        $this->assertEquals('Separate code and utilise files and classes', $e->getDescription());
        $this->assertEquals(ExerciseType::CLI, $e->getType());
        $this->assertInstanceOf(SolutionInterface::class, $e->getSolution());
        $this->assertFileExists(realpath($e->getProblem()));
        $this->assertNull($e->tearDown());
    }