Fakerino\Test\DataSource\FakeFileContainerTest::testAddMethod PHP Метод

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

public testAddMethod ( )
    public function testAddMethod()
    {
        $container = new FakeFileContainer();
        $file = new File($this->filePath);
        $container->add('file', $file);
        $this->assertInstanceOf('\\SplFileInfo', $container->get($this->filePath));
    }