<?php
/*
 * File: ViewsProcessorTest.php
 * Holds: Testes the Processor view
 * Created: 29.05.2016
 * Project: Youkok2
 *
 */

namespace Youkok2\Tests\Views;

use Youkok2\Youkok2;
use Youkok2\Utilities\ClassParser;

class ViewsProcessorTest extends \Youkok2\Tests\YoukokTestCase
{
    public function testProcessorView() {
        $processor_wrapper = new Youkok2();
        $processor_wrapper->load('processor/foobar', [
            'close_db' => false,
            'application' => true
        ]);
        $this->assertEquals('application/json', $processor_wrapper->getHeader('Content-Type'));

    }

}
Add test for processor view
Add test for processor view
