public void GetGearCoupTest() { var con = new GearCoupsController(); var result = con.GetGearCoup("GICL1").GetAwaiter().GetResult() as OkNegotiatedContentResult<GearCoup>; Assert.IsNotNull(result); }
public void GetGearCouplingsTest() { var con = new GearCoupsController(); int expected = 2; var result = con.GetGearCouplings(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }