public void CreateCallTest() { CallFactory target = new CallFactory(); Call expected = new Call((uint)0); Call actual; actual = target.CreateCall(); Assert.AreEqual(expected.ToString(), actual.ToString()); }
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); }