hunk.code_window:     font-family: inherit;
       flex-grow: 1;
       color: var(--color-fg);
       text-overflow: ellipsis;
       &:autofill,
       &:autofill:hover,
       &:autofill:focus,
       &:autofill:active {
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     width: 100%;
  
hunk.file_path: app/client/packages/design-system/widgets/src/styles/src/text-input.module.css
hunk.type: add
file: package com.external.config;
  
  import com.appsmith.external.models.Property;
  import com.external.constants.FieldName;
  import org.junit.jupiter.api.Test;
  
  import java.util.ArrayList;
  import java.util.List;
  
  public class GetDatasourceMetadataMethodTest {
  
      @Test
      public void verifyEmailStorageInPropertiesInDatasourceConfiguration() {
          List<Property> properties = new ArrayList<>();
          String emailAddress = "mockEmailAddress";
          List<Property> returnedProperties =
                  GetDatasourceMetadataMethod.setPropertiesWithEmailAddress(properties, emailAddress);
          assert (!returnedProperties.isEmpty());
          assert (returnedProperties.get(0).getKey().equals(FieldName.EMAIL_ADDRESS));
          assert (returnedProperties.get(0).getValue().equals(emailAddress));
      }
  
      @Test
      public void verifyNewerEmailReplacesOldEmailInSamePropertyObject() {
  
          List<Property> properties = new ArrayList<>();
          Property oldEmailProperty = new Property(FieldName.EMAIL_ADDRESS, "oldEmailAddress");
          properties.add(oldEmailProperty);
  
          String emailAddress = "mockEmailAddress";
          List<Property> returnedProperties =
                  GetDatasourceMetadataMethod.setPropertiesWithEmailAddress(properties, emailAddress);
          assert (!returnedProperties.isEmpty());
          assert (returnedProperties.size() == 1);
          assert (returnedProperties.get(0).getKey().equals(FieldName.EMAIL_ADDRESS));
          assert (returnedProperties.get(0).getValue().equals(emailAddress));
          assert (returnedProperties.get(0).equals(oldEmailProperty));
      }
  
      @Test
      public void verifyEmailPropertyReplacesOtherPropertyObjectAtZeroIndexInProperties() {
          List<Property> properties = new ArrayList<>();
          Property otherProperty = new Property("otherProperty", "random");
          properties.add(otherProperty);
  
          String emailAddress = "mockEmailAddress";
          List<Property> returnedProperties =
                  GetDatasourceMetadataMethod.setPropertiesWithEmailAddress(properties, emailAddress);
          assert (!returnedProperties.isEmpty());
          assert (returnedProperties.size() == 1);
          assert (returnedProperties.get(0).getKey().equals(FieldName.EMAIL_ADDRESS));
          assert (returnedProperties.get(0).getValue().equals(emailAddress));
      }
  }
  