To solve the problem can not be measured in unit testing, simulation of most HTTP request context object