public void UserConfigurationPersisterSelectByStringTest() { var conn = new SQLiteConnection("Data Source=:memory:"); using(var target = new UserConfigurationPersister(conn)){ var actual = target.SelectBy("test").ToList(); Assert.That(actual.Count, Is.EqualTo(1)); } }
public void UserConfigurationPersisterSelectByIdTest() { var conn = new SQLiteConnection("Data Source=:memory:"); using(var target = new UserConfigurationPersister(conn)){ var actual = target.SelectBy(123456); Assert.That(actual, Is.Not.Null); } }