public void TearDown() { testAssignmentContext = null; ServiceLocator.Instance.Release(organisationComponent); container.Dispose(); container = null; // serviceLocator.release(organisationComponent); }
public void SetUp() { //configure the container container = new NetBpm.NetBpmContainer(new XmlInterpreter(TestHelper.GetConfigDir()+"app_config.xml")); organisationComponent = (IOrganisationService) ServiceLocator.Instance.GetService(typeof (IOrganisationService)); testAssignmentContext = new TestAssignmentContext(this,organisationComponent); assignmentExpressionResolver = new AssignmentExpressionResolver(); }
public void SetUp() { //configure the container container = new NetBpm.NetBpmContainer(new XmlInterpreter(TestHelper.GetConfigDir() + "app_config.xml")); organisationComponent = (IOrganisationService)ServiceLocator.Instance.GetService(typeof(IOrganisationService)); testAssignmentContext = new TestAssignmentContext(this, organisationComponent); assignmentExpressionResolver = new AssignmentExpressionResolver(); }