public void GetCylinRollerBrgTest() { var con = new CylinRollerBrgsController(); var result = con.GetCylinRollerBrg("N204E").GetAwaiter().GetResult() as OkNegotiatedContentResult <CylinRollerBrg>; Assert.IsNotNull(result); }
public void GetCylinRollerBearingsTest() { var con = new CylinRollerBrgsController(); int expected = 11; var result = con.GetCylinRollerBearings(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }