Beispiel #1
0
        public void Test_GetIndirectReferences()
        {
            System.Console.Out.WriteLine("GetIndirectreferences");
            IEnumerator enumerator = arm.GetIndirectReferences().GetEnumerator();
            int         index      = 0;

            while (enumerator.MoveNext())
            {
                String indirectReference = (string)enumerator.Current;
                Assert.IsNotNull(arm.GetDirectReference(indirectReference));
                index++;
            }
            Assert.AreEqual(accounts.Count, index);
        }
 public Account GetAccountFromReference(string reference)
 {
     return((Account)arm.GetDirectReference(reference));
 }