public void GetNCSystemFunctionalOptionsTest1() { var con = new NCSystemFunctionalOptionsController(); var result = con.GetNCSystemFunctionalOption("HNC-180XP-M3").GetAwaiter().GetResult() as OkNegotiatedContentResult<NCSystemFunctionalOptions>; Assert.IsNotNull(result); }
public void GetNCSystemFunctionalOptionsTest() { var con = new NCSystemFunctionalOptionsController(); int expected = 18; var result = con.GetNCSystemFunctionalOptions(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }