public function testSaveWithWrongMimeType()
{
$this->object->setConfig(array('is_multiple' => true, 'mime_list' => array('image/gif', 'image/jpeg', 'image/png')));
$_FILES = array($this->object->getName() => array('name' => __DIR__ . '/_files/test.bmp', 'type' => 'plain/text', 'size' => 8, 'tmp_name' => __DIR__ . '/_files/test.bmp', 'error' => 0));
$this->object->save();
$result = $this->object->getValue();
$this->removeDirectories();
$this->assertInternalType('string', $result);
}