public function testMicroNotFoundT169()
{
$this->specify("MVC Micro notFound doesn't work", function () {
$handler = new \RestHandler();
$app = new Micro();
$app->get("/api/site", [$handler, "find"]);
$app->post("/api/site/save", [$handler, "save"]);
$flag = false;
$app->notFound(function () use(&$flag) {
$flag = true;
});
$_SERVER["REQUEST_METHOD"] = "GET";
$_GET["_url"] = "/fourohfour";
$app->handle();
expect($flag)->true();
});
}