public function testInitializationWithBadLoader()
{
$expected = "Class `Badness` of type `adapter.template.view` not found.";
$this->assertException($expected, function () {
new View(array('loader' => 'Badness'));
});
}