Exemplo n.º 1
0
        public void SetUp()
        {
            _file = MockRepository.GenerateMock<IFile>();
            _recentActivities = new RecentActivities(_file);

            _recentActivities.Update(FIRST_ACTIVITY);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        public void SetUp()
        {
            _file = MockRepository.GenerateStub<IFile>();
            _recentActivities = new RecentActivities(_file);

            foreach(string activity in _activities)
                _recentActivities.Update(activity);
        }