public void InitialiseStreamController()
{
((Configuration)UDAPI.Configuration).UseEchos = false;
// register a mocked version of StreamController that doesn't
// require any AMPQ server. It behaves exactly as StreamController,
// except for the fact that doesn't establish a connection
MockedStreamController.Register(new UpdateDispatcher());
}