@Test
public void fromAuthorizationContextThrowsOnNull() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> DefaultUserInformation.fromAuthorizationContext(null));
}