content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Mon Mar 18 04:59:31 GMT 2024
   */
  
  package com.gbshape.dbe.sapdb;
  
  import org.junit.jupiter.api.Test;
  import static org.junit.jupiter.api.Assertions.*;
  import org.junit.jupiter.api.Timeout;
  import java.util.concurrent.TimeUnit;
  import static org.evosuite.runtime.EvoAssertions.*;
  import com.gbshape.dbe.sapdb.SapdbTableList;
  import com.gbshape.dbe.struts.bean.DBDataBean;
  import java.util.ArrayList;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class SapdbTableList_ESTest extends SapdbTableList_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetTableList() throws Throwable  {
        // Given a list of tables is requested from the SAP DB
        SapdbTableList sapdbTableList = new SapdbTableList();
        
        // When the list of tables is retrieved
        DBDataBean arg0 = new DBDataBean();
        ArrayList tableList = sapdbTableList.getTableList(arg0);
        
        // Then an empty list is returned since there are no tables in the SAP DB
        assertTrue(tableList.isEmpty());
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetTableListThrowsNullPointerException() throws Throwable  {
        SapdbTableList sapdbTableList = new SapdbTableList();
        
        // null input to getTableList should throw a NullPointerException
        try {
        sapdbTableList.getTableList((DBDataBean) null);
        fail("Expecting exception: NullPointerException");
        } catch (NullPointerException e) {
        verifyException("com.gbshape.dbe.utils.DBEHelper", e);}
    }
  }
  