public void GetPersistenceSettings_Execute_NullValues_Fails()
 {
     //------------Setup for test--------------------------
     var getPersistenceSettings = new GetPersistenceSettings();
     var serializer             = new Dev2JsonSerializer();
     //------------Execute Test---------------------------
     var executeResults = getPersistenceSettings.Execute(null, null);
     //------------Assert Results-------------------------
 }
        public void GetPersistenceSettings_Execute()
        {
            //------------Setup for test--------------------------
            var workspaceMock = new Mock <IWorkspace>();
            var requestArgs   = new Dictionary <string, StringBuilder>();

            var getPersistenceSettings = new GetPersistenceSettings();
            var serializer             = new Dev2JsonSerializer();

            //------------Execute Test---------------------------
            var executeResults = getPersistenceSettings.Execute(requestArgs, workspaceMock.Object);
            var result         = serializer.Deserialize <PersistenceSettingsData>(executeResults);

            //------------Assert Results-------------------------
            Assert.IsNotNull(result.PersistenceDataSource);
        }