public function testSetup()
{
$app = $this->getApp();
$users = $this->getMock('Bolt\\Users', array('getCurrentUser', 'saveUser'), array($app));
$app['users'] = $users;
$stack = new Stack($app);
$stack->add('mytestfile');
$this->assertTrue($stack->isOnStack('mytestfile'));
$stack->delete('mytestfile');
$this->assertFalse($stack->isOnStack('mytestfile'));
$this->assertFalse($stack->isStackable('mytestfile'));
$this->assertTrue($stack->isStackable('mytestfile.png'));
}