public void BlueSkyTest_AddActivities() { // pre-conditions Assert.AreEqual(0, Context.cardactivity.Local.Count); // exercise CardActivity cardActivity = new CardActivity(); cardActivity.Amount = 2; cardActivity.Description = "Test description"; cardActivity.Category = "test category"; cardActivity.Date = DateTime.Today; Service.AddActivities(new CardActivity[] { cardActivity }); // post-conditions Assert.AreEqual(1, Context.cardactivity.Local.Count); }