### Question:
DefaultAzkarraContext implements AzkarraContext { @Override public List<StreamsExecutionEnvironment> environments() { initializeDefaultEnvironment(); return List.copyOf(environments.values()); } private  DefaultAzkarraContext(final Conf configuration, final ComponentFactory componentFactory); static AzkarraContext create(); static AzkarraContext create(final ComponentFactory factory); static AzkarraContext create(final Conf configuration); @Override ComponentFactory getComponentFactory(); @Override AzkarraContext addListener(final AzkarraContextListener listener); @Override AzkarraContext setRegisterShutdownHook(final boolean registerShutdownHook); @Override Conf getConfiguration(); @Override AzkarraContext setConfiguration(final Conf configuration); @Override AzkarraContext addConfiguration(final Conf configuration); @Override AzkarraContext addExecutionEnvironment(final StreamsExecutionEnvironment env); @Override ApplicationId addTopology(final String type, final Executed executed); @Override ApplicationId addTopology(final Class<? extends TopologyProvider> type, final Executed executed); @Override ApplicationId addTopology(final Class<? extends TopologyProvider> type,
                                     final String envName,
                                     final Executed executed); @Override ApplicationId addTopology(final String type,
                                     final String environment,
                                     final Executed executed); @Override ApplicationId addTopology(final String type,
                                     final String version,
                                     final String environment,
                                     final Executed executed); void setState(final State state); @Override Set<TopologyDescriptor> topologyProviders(); @Override Set<TopologyDescriptor> topologyProviders(final StreamsExecutionEnvironment env); @Override List<StreamsExecutionEnvironment> environments(); @Override StreamsExecutionEnvironment getEnvironmentForNameOrCreate(final String envName); @Override StreamsExecutionEnvironment defaultExecutionEnvironment(); @Override TopologyDescriptor getTopology(final String type); @Override void start(); @Override void stop(boolean cleanUp); @Override void registerComponent(final String componentName,
                                      final Class<T> componentClass,
                                      final Supplier<T> supplier,
                                      final ComponentDescriptorModifier... modifiers); @Override void registerComponent(final String componentName,
                                      final Class<T> componentClass,
                                      final ComponentDescriptorModifier... modifiers); @Override void registerSingleton(final String componentName,
                                      final Class<T> componentClass,
                                      final Supplier<T> singleton,
                                      final ComponentDescriptorModifier... modifiers); @Override void registerSingleton(final String componentName,
                                      final Class<T> componentClass,
                                      final ComponentDescriptorModifier... modifiers); @Override void registerSingleton(final T singleton); static final String DEFAULT_ENV_NAME; }### Answer:
@Test public void shouldRegisteredDefaultEnvironment() { List<StreamsExecutionEnvironment> environments = context.environments(); assertEquals(1, environments.size()); assertEquals(DefaultAzkarraContext.DEFAULT_ENV_NAME, environments.get(0).name()); }