Inheritance: System.Configuration.ConfigurationElement
        public void Can_get_path_variable_replacement()
        {
            var bus = new BusElement();
            var expected = Path.Combine(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "app"), "one_way");
            bus.Path = @"%APPDATA%\app";

            Assert.Equal(expected+".esent", bus.QueuePath);
            Assert.Equal(expected + "_subscriptions.esent", bus.SubscriptionPath);
        }
        public void Can_get_path_variable()
        {
            var bus = new BusElement();
            var expected = @"folder\app\one_way";
            bus.Path = @"folder\app";

            Assert.Equal(expected+".esent", bus.QueuePath);
            Assert.Equal(expected + "_subscriptions.esent", bus.SubscriptionPath);
        }