public function testGetContentType() { $this->assertEquals('css', $this->object->getContentType()); $object = new File($this->source, $this->context, '', '', 'type'); $this->assertEquals('type', $object->getContentType()); }
function testGetContentType() { $file = new File(SABRE_TEMPDIR . '/file.txt'); $this->assertNull($file->getContentType()); }