SignalR/SignalR — pull request #1538 by NTaylorMullen (2013-02-16 01:28:46+00:00)
Title: Network mock

Mocks out the network so JavaScript unit tests can emulate reconnecting/disconnecting.

__Usage:__
```JavaScript

$.network.disconnect(); // Hard disconnect, can also be called via $.network.disconnect(false)
$.network.disconnect(true); // Soft disconnect
$.network.connect(); // Re-instantiate connection

```

I tried to decouple the network mock entirely from SignalR so it could be very flexible.