@Test
public void testAlterTableDMl() throws HIHOException, IOException {
Configuration conf = mock(Configuration.class);
Path path = mock(Path.class);
FileStatus status1 = mock(FileStatus.class);
Path path1 = mock(Path.class);
when(path1.getName()).thenReturn("part-xxxxx");
when(status1.getPath()).thenReturn(path1);
FileStatus status2 = mock(FileStatus.class);
Path path2 = mock(Path.class);
when(path2.getName()).thenReturn("part-yyyyy");
when(status2.getPath()).thenReturn(path2);
FileSystem fs = mock(FileSystem.class);
when(fs.listStatus(path)).thenReturn(
new FileStatus[] { status1, status2 });
when(path.getFileSystem(conf)).thenReturn(fs);
when(conf.get(HIHOConf.EXTERNAL_TABLE_DML))