public void TestDeserialize() { Assert.AreEqual(1, KeywordGroupEntry.Manipulator.InsertDataInto(TestConnection, TableName, Id1)); KeywordGroupEntry toTest = KeywordGroupEntry.Manipulator.RetrieveDataWhere(TestConnection, TableName, "GroupDefinition=\"" + Id1.GroupDefinition + "\"")[0]; Assert.AreEqual(Id1, toTest); Assert.AreEqual(1, KeywordGroupEntry.Manipulator.RemoveDataWhere(TestConnection, TableName, "GroupDefinition=\"" + Id1.GroupDefinition + "\"")); }
public void Init() { Id1 = new KeywordGroupEntry("Whack LLC"); Id2 = new KeywordGroupEntry("Mole Inc"); Id3 = new KeywordGroupEntry("Whack LLC"); }