public void GetSrvDriverReactorTest() { var con = new SrvDriverReactorsController(); var result = con.GetSrvDriverReactor(@"ACL-11kW").GetAwaiter().GetResult() as OkNegotiatedContentResult <SrvDriverReactor>; Assert.IsNotNull(result); }
public void GetSrvDriverReactorsTest() { var con = new SrvDriverReactorsController(); int expected = 12; var result = con.GetSrvDriverReactors(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }