Exemple #1
0
        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 + "\""));
        }
Exemple #2
0
 public void Init()
 {
     Id1 = new KeywordGroupEntry("Whack LLC");
     Id2 = new KeywordGroupEntry("Mole Inc");
     Id3 = new KeywordGroupEntry("Whack LLC");
 }