<?php

/*
 * This file is part of the memio/model package.
 *
 * (c) Loïc Chardonnet <loic.chardonnet@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace spec\Memio\Model\Phpdoc;

use PhpSpec\ObjectBehavior;

class VariableTagSpec extends ObjectBehavior
{
    function it_has_a_type()
    {
        $this->beConstructedWith('string');

        $this->getType()->shouldBe('string');
    }

    function it_can_have_a_fully_qualified_name()
    {
        $this->beConstructedWith('Vendor\Project\MyClass');

        $this->getType()->shouldBe('Vendor\Project\MyClass');
    }
}
