public void Empty() { IServerStatusService serverStatusService = new ServerStatusService(new ServerStateDataProviderNullMock()); Assert.IsTrue(serverStatusService.GetAsync().Result == null); }
public void Success() { IServerStatusService serverStatusService = new ServerStatusService(new ServerStateDataProviderSucccessMock()); Assert.AreEqual(serverStatusService.GetAsync().Result.Count, 1); }