@Test
void checkNoAllowed()
{

    Throwable exception = assertThrows(NamespaceNotAllowedException.class, () -> {
        this.validator.checkAllowed(Arrays.asList("namespace"), "wrong");
    });
    assertEquals("Allowed namespace list [[namespace]] does not matches namespace [wrong]", exception.getMessage());
}