<?php

use Mockery as m;
use Basset\Factory\FactoryManager;
use Basset\Factory\DirectoryFactory;
use Illuminate\Filesystem\Filesystem;

class DirectoryFactoryTest extends PHPUnit_Framework_TestCase {


    public function tearDown()
    {
        m::close();
    }


    public function testMakingOfDirectory()
    {
        $factory = new DirectoryFactory(new Filesystem, new FactoryManager);

        $directory = $factory->make('foo');

        $this->assertInstanceOf('Basset\Directory', $directory);
    }


}
Test coverage for directory factory.
Test coverage for directory factory.

Signed-off-by: Jason Lewis <b136be6b8ecc2c62ceb9857ec62bf85489a45e0c@gmail.com>
