public function testAdapterHasValidators()
 {
     $size = new Size(['min' => '10kB', 'max' => '5MB', 'useByteString' => true]);
     $extension = new Extension(['jpg', 'gif', 'png', 'jpeg', 'bmp', 'webp', 'svg'], true);
     $this->adapter->setValidators([$size, new IsImage(), $extension]);
     $testExtension = $this->adapter->getValidator('Extension');
     $testIsImage = $this->adapter->getValidator('IsImage');
     $testSize = $this->adapter->getValidator('Size');
     $this->assertInstanceOf('Zend\\Validator\\File\\Extension', $testExtension);
     $this->assertInstanceOf('Zend\\Validator\\File\\IsImage', $testIsImage);
     $this->assertInstanceOf('Zend\\Validator\\File\\Size', $testSize);
 }