public void CheckGetRandomMeters_For_Return_Type() { var meterModel = new MeterModel(); meterModel.GetRandomMeters(); Assert.IsInstanceOfType(meterModel.Meters, typeof(List<Meter>)); }
public ActionResult FindMetersByDetails() { var model = new MeterModel(); model.GetRandomMeters(); return(View(model)); }
public void CheckGetRandomMeters_For_Return_Instances() { var meterModel = new MeterModel(); meterModel.GetRandomMeters(); Assert.AreNotEqual(0,meterModel.Meters.Count); }
public ActionResult ShowSomeMeters() { var model = new MeterModel(); model.GetRandomMeters(); return(View(model)); }