@Override
  public void populateContainer(MigrationContainer container) {
    container.add(executorType);
    populateFromMigrationSteps(container);
  }
@Test
  public void populateContainer_adds_MigrationStepsExecutorImpl() {
    when(migrationSteps.readAll()).thenReturn(emptyList());

    // add MigrationStepsExecutorImpl's dependencies
    migrationContainer.add(mock(MigrationHistory.class));
    migrationContainer.add(mock(MutableDatabaseMigrationState.class));
    migrationContainer.add(mock(TelemetryDbMigrationStepsProvider.class));
    migrationContainer.add(mock(TelemetryDbMigrationTotalTimeProvider.class));
    migrationContainer.add(mock(TelemetryDbMigrationSuccessProvider.class));

    migrationContainer.startComponents();
    underTest.populateContainer(migrationContainer);

    assertThat(migrationContainer.getComponentByType(MigrationStepsExecutorImpl.class)).isNotNull();
  }