示例#1
0
 protected override void Establish_context()
 {
     base.Establish_context();
     SpeedMeasurer = new SpeedMeasurer();
 }
示例#2
0
 protected override void Establish_context()
 {
     base.Establish_context();
     NetworkSettings = new Mock<INetworkSettings>();
     UriSource = new Mock<IUriSource>();
     Logger = new Mock<ILogger>();
     SpeedMeasurer = new SpeedMeasurer();
     NetworkClient = new NetworkClient(NetworkSettings.Object, UriSource.Object,
         SpeedMeasurer, Logger.Object);
     NotificationService.Notifier = null;
 }