public void FindMatchedRecordsandAddToDatabase() { using (var db = new LojackContext()) { var rep = new MatchedLojackRepository(db); rep.GetNewMatches(rep.GetActiveDataMarts()); } }
public void GetActiveDataMartsTest() { var rep = new MatchedLojackRepository(new LojackContext()); var result = rep.GetActiveDataMarts(); Assert.IsTrue(result.Any()); }