Exemple #1
0
 public void TestCreateCondition1()
 {
     string[] policyData =
         handler.CreateCategorySimplePolicy("Food", ConditionType.AddressEqual, "Grove Street");
     string[] expectedData = { "0", "Address", "=", "Grove Street" };
     CompareArrays(expectedData, policyData);
     Assert.AreEqual(1, handler.GetSessionPolicies().Length);
 }