hunk.code_window:                 disabled={forkingApplication}
                   onClick={() => setModalClose && setModalClose(false)}
                   size={Size.large}
                   text={createMessage(CANCEL)}
  
hunk.labels: keep keep add keep
hunk.after_edit:                 tag="button"
  
hunk.file_path: app/client/src/pages/Applications/ForkApplicationModal.tsx
hunk.type: add
file: package com.appsmith.external.models;
  
  import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginError;
  import org.junit.Test;
  
  import static org.junit.Assert.assertNotNull;
  import static org.junit.Assert.assertTrue;
  
  public class DatasourceTestResultTest {
  
      @Test
      public void testNewDatasourceTestResult_NullInvalidArray() {
          DatasourceTestResult nullInvalidsResult = new DatasourceTestResult((String) null);
          assertNotNull(nullInvalidsResult);
          assertTrue(nullInvalidsResult.getInvalids().contains(AppsmithPluginError.PLUGIN_DATASOURCE_TEST_GENERIC_ERROR.getMessage()));
  
          nullInvalidsResult = new DatasourceTestResult(new String[]{null});
          assertNotNull(nullInvalidsResult);
          assertTrue(nullInvalidsResult.getInvalids().contains(AppsmithPluginError.PLUGIN_DATASOURCE_TEST_GENERIC_ERROR.getMessage()));
      }
  }