DecoratorTest::testPresentableToPresenter PHP Method

testPresentableToPresenter() public method

    public function testPresentableToPresenter()
    {
        $decorator = new Decorator();
        $presenter = $decorator->decorate(new PresentableStub());
        $this->assertInstanceOf('Robbo\\Presenter\\Presenter', $presenter);
    }