function test_load_handler_()
{
    $handler = 'testhandler' . rand();
    testhelper_create_handler_($handler);
    should_return(1, when_passed($handler));
    testhelper_remove_handler_($handler);
}
function test_dispatch_request_()
{
    $handler = 'testhandler' . rand();
    should_return(valid_response_(response_(STATUS_NOT_FOUND)), when_passed($handler, METHOD_GET, '/', array(), array(), ''));
    testhelper_create_handler_($handler);
    testhelper_write_handler_function_($handler);
    should_return(valid_response_(response_(STATUS_OK)), when_passed($handler, METHOD_GET, '/', array(), array(), ''));
    testhelper_remove_handler_($handler);
}