public void GivenMonitoId_WhenItIsNotValid_ThenShouldNotGiveCorrecttMonitorName() { MonitorRepository m = new MonitorRepository(); string Actual = "IntelliVue MP5SC"; string expected = m.DataFetch(2); Assert.AreNotEqual(Actual, expected); }
public void GivenMonitoId_WhenItIsValid_ThenGiveCorrectMonitorName() { MonitorRepository m = new MonitorRepository(); string Actual = "Avalon CL"; string expected = m.DataFetch(1); Assert.AreEqual(Actual, expected); }