EnvironmentAlertHandlersImpl implements EnvironmentAlertHandlers { @Override public EnvironmentId getEnvironmentId() { return environmentId; } EnvironmentAlertHandlersImpl( final EnvironmentId environmentId ); @Override void add( EnvironmentAlertHandler environmentAlertHandler, AlertHandler alertHandler ); @Override EnvironmentId getEnvironmentId(); @Override Map<EnvironmentAlertHandler, AlertHandler> getAllHandlers(); @Override @SuppressWarnings( "unchecked" ) Collection<AlertHandler> getEffectiveHandlers(); @Override AlertHandler getHandler( final EnvironmentAlertHandler handlerId );  }
@Test public void testConstructor() { assertEquals( environmentId, environmentAlertHandlers.getEnvironmentId() ); }