public void GetDoubleRowCylinRollerBrgTest() { var con = new DoubleRowCylinRollerBrgsController(); var result = con.GetDoubleRowCylinRollerBrg("NN3005").GetAwaiter().GetResult() as OkNegotiatedContentResult <DoubleRowCylinRollerBrg>; Assert.IsNotNull(result); }
public void GetDoubleRowCylinRollerBearingsTest() { var con = new DoubleRowCylinRollerBrgsController(); int expected = 1; var result = con.GetDoubleRowCylinRollerBearings(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }