예제 #1
0
        public void CreateCallTest()
        {
            CallFactory target   = new CallFactory();
            Call        expected = new Call((uint)0);
            Call        actual;

            actual = target.CreateCall();
            Assert.AreEqual(expected.ToString(), actual.ToString());
        }
예제 #2
0
        public void LastIdTestAfterItemsCreated()
        {
            CallFactory target = new CallFactory();

            for (int i = 0; i < 5; i++)
            {
                target.CreateCall();
            }
            uint actual;

            actual = target.LastId;
            Assert.AreEqual((uint)5, actual);
        }