public void GetAlignBallBrgTest() { var controller = new AlignBallBrgsController(); var result = controller.GetAlignBallBrg("1204").GetAwaiter().GetResult() as OkNegotiatedContentResult<AlignBallBrg>; Assert.IsNotNull(result); }
public void GetAlignBallBearingsTest() { //arrange var controller = new AlignBallBrgsController(); int count = 11; //acr var result = controller.GetAlignBallBearings(); //assert Assert.IsNotNull(result); Assert.AreEqual(count, result.Count()); }