public function testWithMakesPresentable()
{
$env = new EnvironmentStub(m::mock('Illuminate\\View\\Engines\\EngineResolver'), m::mock('Illuminate\\View\\ViewFinderInterface'), m::mock('Illuminate\\Events\\Dispatcher'));
$view = new View($env, m::mock('Illuminate\\View\\Engines\\EngineInterface'), 'test', 'test/path');
$view->with('presenter', new ViewPresentableStub());
$this->assertTrue($view['presenter'] instanceof Presenter);
}