상속: BaseServiceEntity, IVersionOneSettingsConsumer
        public void ServiceDependencyValidationSuccessTest()
        {
            P4ServiceEntity entity = new P4ServiceEntity();
            ChangesetWriterEntity writerEntity = new ChangesetWriterEntity();
            IList<BaseServiceEntity> entities = new BaseServiceEntity[] {
                entity, writerEntity,
            };

            settings = new ServiceHostConfiguration(entities);
            validator.CheckOtherServiceDependency(entity, settings);
        }
        private ChangesetsController CreateController()
        {
            ChangesetWriterEntity model = new ChangesetWriterEntity();
            model.AlwaysCreate = true;
            model.ChangeComment = "comment";
            model.Link.Name = "link name";
            model.Link.OnMenu.BoolValue = true;
            model.Link.Url = "http://example.com/link";

            return new ChangesetsController(model, FacadeMock);
        }
        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);
        }