public void GetBenchmark_InvalidInput_ReturnBadRequest() { Mock <IBenchmarkRepo> mock = new Mock <IBenchmarkRepo>(); mock.Setup(p => p.GetNolist()).Returns(l2); BenchmarkRepo cp = new BenchmarkRepo(); List <AuditBenchmark> result = cp.GetNolist(); Assert.AreNotEqual(l1.Count, result.Count); }
public List <AuditBenchmark> GetBenchmark() { return(obj.GetNolist()); }
public IEnumerable <AuditBenchmark> Get() { BenchmarkRepo obj = new BenchmarkRepo(); return(obj.GetNolist()); }