[Ignore] // TODO: Move integration tests into a different project
        public void ApplicationPreferenceSaveTest()
        {
            // Arrange
            var target = new ApplicationPreferenceService(_config.PegasysUrl);
            var exceptionHappened = false;
            // Act
            Login();
            try
            {
                //string xmlText = string.Format("<Data>{0}</Data>", @"Testing 1");
                const string xmlText = "Test 1";
                target.ApplicationPreferenceSave(_config.ValidSuperUserName, _config.SessionGuid, "key", PreferenceType.Application, xmlText);
            }
            catch (Exception)
            {
                exceptionHappened = true;
            }
            finally
            {
                Logout(); 
            }

            // Assert
            Assert.IsTrue(!exceptionHappened); 
        }
        [Ignore] // TODO: Move integration tests into a different project
        public void ApplicationPreferenceReadTest()
        {
            // Arrange
            var target = new ApplicationPreferenceService(_config.PegasysUrl);
            var exceptionHappened = false;
            string result=null;
            // Act
            Login();
            try
            {
                result = target.ApplicationPreferenceRead(_config.ValidSuperUserName, _config.SessionGuid, "key", PreferenceType.Application);
            }
            catch (Exception)
            {
                exceptionHappened = true;
            }
            finally
            {
                Logout();
            }

            // Assert
            Assert.IsFalse(exceptionHappened);
            Assert.IsFalse(string.IsNullOrEmpty(result));
        }
        [Ignore] // TODO: Move integration tests into a different project
        public void ApplicationPreferenceDeleteTest()
        {
            // Arrange
            var target = new ApplicationPreferenceService(_config.PegasysUrl);
            var exceptionHappened = false;
            // Act
            Login();
            try
            {
                target.ApplicationPreferenceDelete(_config.ValidSuperUserName, _config.SessionGuid, "key", PreferenceType.Application);
            }
            catch (Exception)
            {
                exceptionHappened = true;
            }
            finally
            {
                Logout();
            }

            // Assert
            Assert.IsFalse(exceptionHappened);
        }