public virtual void TestCreatedInstanceConfigured()
        {
            ResourceCalculatorProcessTree tree;
            Configuration conf = new Configuration();

            tree = ResourceCalculatorProcessTree.GetResourceCalculatorProcessTree("1", typeof(
                                                                                      TestResourceCalculatorProcessTree.EmptyProcessTree), conf);
            NUnit.Framework.Assert.IsNotNull(tree);
            Assert.AssertThat(tree.GetConf(), IsSame.SameInstance(conf));
        }
        public virtual void TestCreateInstance()
        {
            ResourceCalculatorProcessTree tree;

            tree = ResourceCalculatorProcessTree.GetResourceCalculatorProcessTree("1", typeof(
                                                                                      TestResourceCalculatorProcessTree.EmptyProcessTree), new Configuration());
            NUnit.Framework.Assert.IsNotNull(tree);
            Assert.AssertThat(tree, IsInstanceOf.InstanceOf(typeof(TestResourceCalculatorProcessTree.EmptyProcessTree
                                                                   )));
        }