public void Initialize()
        {
            ConfigurationService helper = new ConfigurationService();

            helper.AddJsonRpcHandler();
            helper.AddApiSettings();
            var settings = helper.GetApiSettings();

            settings.LoadConfigurationsIntoMemory();
        }
Ejemplo n.º 2
0
        public void Connector_AddJsonRpcSection()
        {
            //Arrange
            ConfigurationService helper = new ConfigurationService();

            //Act
            var created = helper.AddJsonRpcHandler($"{Directory.GetCurrentDirectory()}\\web.config");

            //Assert
            Assert.IsTrue(created);
        }