public void TestAddAuto() { using (var repo = new AutoRepository(new AutosBackendContext(_options))) { repo.Insert(new Auto() { Kenteken = "AA-11-BB" }); } using (var repo = new AutoRepository(new AutosBackendContext(_options))) { var result = repo.FindAll().Single(); Assert.AreEqual(1, repo.Count()); Assert.AreEqual("AA-11-BB", result.Kenteken); } }