public function testFindWithOptions()
{
$result = Libraries::find('lithium', array('path' => '/console/command/create/template', 'namespaces' => false, 'suffix' => false, 'filter' => false, 'exclude' => false, 'format' => function ($file, $config) {
return basename($file);
}));
$this->assertTrue(count($result) > 3);
$this->assertNotIdentical(array_search('controller.txt.php', $result), false);
$this->assertNotIdentical(array_search('model.txt.php', $result), false);
}