@Test
public void testEstimateTask() throws Exception {
//tell the method story as it happens: mock or create dependencies and configure
//those dependencies to get the method under test to completion
DatabaseType databaseType = DatabaseType.Oracle;
DataMigratorConfiguration mockConfig = mock(DataMigratorConfiguration.class);
when(mockConfig.getDatabaseType()).thenReturn(databaseType);
MetricsIndexMigrator mockMetricsIndexUpdateAccumulator = mock(MetricsIndexMigrator.class);
PowerMockito.whenNew(MetricsIndexMigrator.class).withArguments(eq(MigrationTable.RAW), eq(mockConfig))