<?php

namespace spec\PhpSpec\Formatter\Presenter\Value;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

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

    function it_should_support_object_values()
    {
        $this->supports(new \stdClass())->shouldReturn(true);
    }

    function it_should_present_an_object_as_a_string()
    {
        $this->present(new \stdClass())->shouldReturn('[obj:stdClass]');
    }
}
