public void PropertiesTest() { var ext = new ApprovalExtension(); Assert.IsFalse(ext.AddInstanceAuthorizationRules); Assert.IsFalse(ext.AddObjectAuthorizationRules); }
public void GetInfoClassInterfacesTest() { var ext = new ApprovalExtension(); var pd = new ProcessDefinition(null); var types = ext.GetInfoClassInterfaces(pd); Assert.AreEqual(types.Count(), 1); Assert.AreEqual(types[0], typeof(IApprovalInfo)); }