@Test
public void getHandlerShouldThrowExceptionWhenNotPresent() {

    // Arrange
    final ASduType typeId = ASduType.M_ME_TF_1;
    final Class<?> expected = Iec60870AsduHandlerNotFoundException.class;
    // Act
    final Throwable actual = catchThrowable(() -> this.iec60870AsduHandlerRegistry.getHandler(typeId));
    // Assert
    assertThat(actual).isInstanceOf(expected);
}