This is an unusual example. Normally the fixture only invokes the model code. It is not itself the model code being tested.
For web apps, the fixture is going to need to talk to the web server where the application runs.