@Test
public void shouldHandleAsduWhenNewAsduIsReceived() throws Exception {

    // Arrange
    final ASdu asdu = AsduFactory.ofType(ASduType.C_IC_NA_1);
    when(this.asduHandlerRegistry.getHandler(asdu)).thenReturn(this.asduHandler);
    // Act
    this.clientConnectionEventListener.newASdu(asdu);
    // Assert
    verify(this.asduHandler).handleAsdu(asdu, this.responseMetadata);
}