public void GetCarsByVendor3Test() { var bs = new Application.AutomobileServiceReference.BusinessServiceClient(); Assert.AreEqual(bs.GetAutomobiles().Count(a => a.vendorId == 3), 2); }
public void GetAllVendorTest() { var bs = new Application.AutomobileServiceReference.BusinessServiceClient(); Assert.AreEqual(bs.GetAllVendors().Count(), 3); }