public void GetDynamicKeysExistTest() { OsPeopleRequest tag1 = new OsPeopleRequest(dynamicPeopleControl); OsPeopleRequest tag2 = new OsPeopleRequest(crossRefDynamicPeopleControl); string[] dynamicKeys = tag1.GetDynamicKeyDependencies(); Assert.Greater(dynamicKeys.Length, 0); }
bool PeopleRequestTagHasDynamicKey(string source, string expectedKey) { OsPeopleRequest tag1 = new OsPeopleRequest(source); string[] dynamicKeys = tag1.GetDynamicKeyDependencies(); bool found = ContainsDynamicKey(dynamicKeys, expectedKey); return(found); }
public void DynamicParamTest() { OsPeopleRequest target = new OsPeopleRequest(dynamicPeopleControl); Assert.IsTrue(target.HasDynamicParameters()); }