public void SetUp() { _file = MockRepository.GenerateMock<IFile>(); _recentActivities = new RecentActivities(_file); _recentActivities.Update(FIRST_ACTIVITY); }
public void SetUp() { _file = MockRepository.GenerateStub<IFile>(); _recentActivities = new RecentActivities(_file); _recentActivities.Update(EXISTING_ACTIVITY_NAME); _recentActivities.Update(SECOND_ACTIVITY_NAME); _recentActivities.Update(THIRD_ACTIVITY_NAME); }
public void SetUp() { _file = MockRepository.GenerateStub<IFile>(); _recentActivities = new RecentActivities(_file); foreach(string activity in _activities) _recentActivities.Update(activity); }