public void GetPlumShapedFlexibleCoupTest() { var con = new PlumShapedFlexibleCoupsController(); var result = con.GetPlumShapedFlexibleCoup("LM3").GetAwaiter().GetResult() as OkNegotiatedContentResult <PlumShapedFlexibleCoup>; Assert.IsNotNull(result); }
public void GetPlumShapedFlexibleCouplingsTest() { var con = new PlumShapedFlexibleCoupsController(); int expected = 5; var result = con.GetPlumShapedFlexibleCouplings(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }