Extends
lithium\test\UnitSource
public function testServiceLocateInstantiation() {
$result = Libraries::instance('adapter.template.view', 'Simple');
$this->assertTrue(is_a($result, 'lithium\template\view\adapter\Simple'));
$this->expectException("Class `Foo` of type `adapter.template.view` not found.");
$result = Libraries::instance('adapter.template.view', 'Foo');
}