public void RestUrlKeyValueDataHandler_GetSecuredData_EmptySecuredProps_NonChangedResult()
        {
            //ARRANGE
            AbstractKeyValueDataHandler handler = new RestUrlKeyValueDataHandler();

            handler.Properties = new Dictionary <string, string>();

            //ACT
            var result = handler.GetSecuredData("http://test.com/user/max/pass/123456");

            //ASSERT
            Assert.AreEqual("http://test.com/user/max/pass/123456", result);
        }
        public void RestUrlKeyValueDataHandler_GetSecuredData_SomePropsNotInRequest_ListedParametresSecured()
        {
            //ARRANGE
            AbstractKeyValueDataHandler handler = new RestUrlKeyValueDataHandler();

            handler.Properties = new Dictionary <string, string>
            {
                { "user", "max" },
                { "password", "123456" }
            };

            //ACT
            var result = handler.GetSecuredData("http://test.com/user/max/pass/123456");

            //ASSERT
            Assert.AreEqual("http://test.com/user/XXX/pass/123456", result);
        }