BrowscapPHPTest\Command\CheckUpdateCommandTest::setUp PHP Method

setUp() public method

This method is called before a test is executed.
public setUp ( )
    public function setUp()
    {
        $cacheAdapter = new Memory();
        $cache = new BrowscapCache($cacheAdapter);
        $this->object = new CheckUpdateCommand('');
        $this->object->setCache($cache);
    }
CheckUpdateCommandTest