Ejemplo n.º 1
0
 function testUnrecognizedExtensionSetAsBinaryStream()
 {
     $file = new T_File_Uploaded('some/tmp/file', 1024, 'file.notanext');
     $this->assertSame(T_Mime::BINARY, $file->getMime()->getType());
 }