<?php

namespace spec\PhpSpec\Formatter\Presenter\Value;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

class NullTypePresenterSpec extends ObjectBehavior
{
    function it_is_a_type_presenter()
    {
        $this->shouldImplement('PhpSpec\Formatter\Presenter\Value\TypePresenter');
    }

    function it_should_support_null_values()
    {
        $this->supports(null)->shouldReturn(true);
    }

    function it_should_present_null_as_a_string()
    {
        $this->present(null)->shouldReturn('null');
    }
}
