public function testIsAllowedExtension()
 {
     $_POST['form'] = 'filefield';
     $this->assertEquals(true, $this->filePDF->isAllowedExtension(array('jpg', 'pdf', 'jpeg')));
     $this->assertEquals(false, $this->filePDF->isAllowedExtension(array('xpdf')));
 }