Esempio n. 1
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     DefaultCodeResolutionConfigurator.ConfigureCodeResolversWithTrivialDefault();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.service = new MockTestCaseMessageDefinitionService();
 }
Esempio n. 2
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.transformer = new MessageBeanTransformerImpl(new MockTestCaseMessageDefinitionService(), RenderMode.PERMISSIVE);
     this.factory     = new DocumentFactory();
 }
Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 6
0
 public virtual void SetUp()
 {
     MessageBeanRegistry.Reset();
     Assembly.LoadFrom("../../TestResource/message-builder-release-mock-mr2009.dll");
     CodeResolverRegistry.Register(new TrivialCodeResolver());
 }
Esempio n. 7
0
 public virtual void SetUp()
 {
     CodeResolverRegistry.Register(new TrivialCodeResolver());
 }
Esempio n. 8
0
 public virtual void SetUp()
 {
     this.adapter = new IvlToTsAdapter();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
 }
Esempio n. 9
0
 public virtual void SetUp()
 {
     MockMessageBeanRegistry.Initialize();
     CodeResolverRegistry.Register(new TrivialCodeResolver());
     this.service = new MockTestCaseMessageDefinitionService();
 }