@Test
void shouldUpdateChannelAttributes()
{

    Clock clock = mock( Clock.class );
    when( clock.millis() ).thenReturn( 42L );
    SecurityPlan security = SecurityPlanImpl.insecure();
    NettyChannelInitializer initializer = newInitializer( security, Integer.MAX_VALUE, clock );
    initializer.initChannel( channel );
    assertEquals( LOCAL_DEFAULT, serverAddress( channel ) );
    assertEquals( 42L, creationTimestamp( channel ) );
    assertNotNull( messageDispatcher( channel ) );
}