@Test
void generateWithoutArgument()
{

    Throwable exception = assertThrows(UnsupportedOperationException.class,
        () -> generator.generate());
    assertEquals("Knowing the key strength is required to generate a key.", exception.getMessage());
}