<?php
/**
 * core.framework
 *
 * @category   Core
 * @package    Core_Form
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2011. Burza d.o.o. (http://web.burza.hr/en/)
 * @license    proprietary
 */

/**
 * @category   Core
 * @package    Core_Form
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2011. Burza d.o.o. (http://web.burza.hr/en/)
 * @license    proprietary
 * @group      Core_Form
 */
class Core_Form_Element_ImageTest extends PHPUnit_Framework_TestCase
{
    /**
     * @var Core_Form_Element_Image
     */
    protected $_object;

    protected function setUp()
    {
        $this->_object = new Core_Form_Element_Image;
    }

    /**
     * @covers Core_Form_Element_Image::getInputType
     */
    public function testInputTypeIsSet()
    {
        $this->assertEquals('image', $this->_object->getInputType());
    }

    /**
     * @covers Core_Form_Element_Image::isIgnored
     */
    public function testIsIgnoredByDefault()
    {
        $this->assertTrue($this->_object->isIgnored());
    }
}
