public function testFactoryWithStaticFileDisabled()
 {
     $logger = $this->getMock('Psr\\Log\\LoggerInterface');
     $factory = new StaticFileFactory($logger, false, 'nginx', self::$DI['app']['phraseanet.thumb-symlinker']);
     $this->assertInstanceOf('Alchemy\\Phrasea\\Http\\StaticFile\\NullMode', $factory->getMode());
     $this->assertFalse($factory->isStaticFileModeEnabled());
 }