예제 #1
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     DefaultCodeResolutionConfigurator.ConfigureCodeResolversWithTrivialDefault();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.service = new MockTestCaseMessageDefinitionService();
 }
예제 #2
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.transformer = new MessageBeanTransformerImpl(new MockTestCaseMessageDefinitionService(), RenderMode.PERMISSIVE);
     this.factory     = new DocumentFactory();
 }
예제 #3
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.document      = GetSourceDocument();
     this.service       = new MockTestCaseMessageDefinitionService();
     this.messageSource = new Hl7MessageSource(MockVersionNumber.MOCK_NEWFOUNDLAND, this.document, null, null, service);
 }
예제 #4
0
        public virtual void SetUp()
        {
            MockMessageBeanRegistry.Initialize();
            CodeResolverRegistry.Register(new TrivialCodeResolver());
            this.service  = new MockTestCaseMessageDefinitionService();
            this.document = GetSourceDocument();
            Hl7MessageSource rootSource = new Hl7MessageSource(MockVersionNumber.MOCK_NEWFOUNDLAND, document, null, null, this.service
                                                               );

            this.element    = document.DocumentElement;
            this.partSource = rootSource.CreatePartSource(CreateRelationship("MFMI_MT700711CA.Author"), element);
        }
예제 #5
0
        public virtual void SetUp()
        {
            MockMessageBeanRegistry.Initialize();
            CodeResolverRegistry.Register(new EnumBasedCodeResolver(typeof(Ca.Infoway.Messagebuilder.Domainvalue.Controlact.ActStatus
                                                                           )));
            CodeResolverRegistry.Register(new TrivialCodeResolver());
            this.service  = new MockTestCaseMessageDefinitionService();
            this.document = GetSourceDocument(XML);
            this.element  = this.document.DocumentElement;
            Hl7MessageSource rootSource = new Hl7MessageSource(MockVersionNumber.MOCK_NEWFOUNDLAND, this.document, null, null, this.service
                                                               );

            this.partSource = rootSource.CreatePartSource(CreateRelationship("MCCI_MT002100CA.Sender"), element);
        }
예제 #6
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
 }
예제 #7
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.service = new MockTestCaseMessageDefinitionService();
 }
예제 #8
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     this.service     = new MockTestCaseMessageDefinitionService();
     this.mockService = new MockMessageDefinitionService();
 }