PhpSchool\LearnYouPhpTest\Exercise\TimeServerTest::testGetters PHP Метод

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

public testGetters ( )
    public function testGetters()
    {
        $this->assertEquals('Time Server', $this->exercise->getName());
        $this->assertEquals('Build a Time Server!', $this->exercise->getDescription());
        $this->assertEquals(ExerciseType::CLI, $this->exercise->getType());
        $this->assertInstanceOf(SolutionInterface::class, $this->exercise->getSolution());
        $this->assertFileExists(realpath($this->exercise->getProblem()));
        $this->assertNull($this->exercise->tearDown());
    }