public function testMissingView()
{
$this->specify('The View component does not throw Exception in case of missing view', function () {
$view = new Simple();
$view->setViewsDir(PATH_DATA . 'views' . DIRECTORY_SEPARATOR);
$view->render('test1/index');
}, ['throws' => [Exception::class, "View '" . PATH_DATA . 'views' . DIRECTORY_SEPARATOR . 'test1' . DIRECTORY_SEPARATOR . "index' was not found in the views directory"]]);
}