@Test
public void assertNPEisThrownIfTypesAreNull() {

    ConfigStatusInfo info = new ConfigStatusInfo();
    assertThrows(NullPointerException.class, () -> info.getConfigStatusMessages(null, emptySet()));
}