public virtual void SetUp() { MockMessageBeanRegistry.Initialize(); DefaultCodeResolutionConfigurator.ConfigureCodeResolversWithTrivialDefault(); CodeResolverRegistry.Register(new TrivialCodeResolver()); this.service = new MockTestCaseMessageDefinitionService(); }
public virtual void SetUp() { MockMessageBeanRegistry.Initialize(); CodeResolverRegistry.Register(new TrivialCodeResolver()); this.transformer = new MessageBeanTransformerImpl(new MockTestCaseMessageDefinitionService(), RenderMode.PERMISSIVE); this.factory = new DocumentFactory(); }
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); }
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); }
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); }
public virtual void SetUp() { MockMessageBeanRegistry.Initialize(); }
public virtual void SetUp() { MockMessageBeanRegistry.Initialize(); CodeResolverRegistry.Register(new TrivialCodeResolver()); this.service = new MockTestCaseMessageDefinitionService(); }
public virtual void SetUp() { MockMessageBeanRegistry.Initialize(); this.service = new MockTestCaseMessageDefinitionService(); this.mockService = new MockMessageDefinitionService(); }