@Test
public void createInstanceWithNullSources() {

    final ConnectionBuilder builder = ImmutableConnection.getBuilder(ID, TYPE, STATUS, URI);
    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> builder.sources(null))
            .withMessage("The %s must not be null!", "sources")
            .withNoCause();
}