We are testing a simple controller from imaginable MVC framework.
<?php
class UserController extends AbtractController {
public function show($id)
{
$user = $this->db->find('users',$id);
if (!$user) return $this->render404('User not found');