Inheritance: BaseServiceEntity
        protected FitnesseServiceEntity CreateEntity()
        {
            FitnesseServiceEntity entity = new FitnesseServiceEntity();
            entity.TagName = "tag_name";
            entity.Watch = "Watch";
            entity.Filter = "Filter";

            entity.Timer = new TimerEntity();
            entity.Timer.PublishClass = "VersionOne.ServiceHost.TestServices.Fit.FitReaderService+IntervalSync, VersionOne.ServiceHost.TestServices";

            return entity;
        }
        public void ServiceDependenciesValidationFailureTest()
        {
            P4ServiceEntity p4Entity = new P4ServiceEntity();
            ChangesetWriterEntity writerEntity = new ChangesetWriterEntity();
            FitnesseServiceEntity fitEntity = new FitnesseServiceEntity();
            IList<BaseServiceEntity> entities = new BaseServiceEntity[] {
                p4Entity, writerEntity, fitEntity,
            };

            settings = new ServiceHostConfiguration(entities);
            validator.CheckServiceDependencies(settings);
        }
        public void PrepareViewTest()
        {
            FitnesseServiceEntity entity = new FitnesseServiceEntity();
            IFitnessePageView viewMock = MockRepository.StrictMock<IFitnessePageView>();
            FitnesseController controller = CreateController();

            Expect.Call(viewMock.Model).PropertyBehavior();
            viewMock.DataBind();

            MockRepository.ReplayAll();

            controller.RegisterView(viewMock);
            controller.PrepareView();

            MockRepository.VerifyAll();
        }