Bob\Test\TaskLibraryTest::setUp PHP Method

setUp() public method

public setUp ( )
    function setUp()
    {
        $this->application = new \Bob\Application();
        $this->application['log'] = $this->application->share(function () {
            $log = new Logger('bob');
            $log->pushHandler(new TestHandler());
            return $log;
        });
        $this->application['config.file'] = null;
    }