public void InsertAndGetLevel2FromFreshDB() { //Given connection = DBHelper.GetDbConnection(dbLocation); connection.InitializeDB(); IMatchProvider provider = new MatchProvider(connection); //When provider.SaveMatchLevel2("near", "level1", "level2"); var matches = provider.GetMatches("near", "level1"); //Then Assert.AreEqual(1, matches.Count()); var match = matches.Single(); Assert.AreEqual("level2", match.Level2); }