@Test
void should_be_thrown_EVCacheInvalidKeyException_when_key_contain_whitespace() {

    assertThatThrownBy(() -> cache.lookup(" ")).isExactlyInstanceOf(EVCacheInvalidKeyException.class)
                                               .hasMessage("Key must not be contain whitespace");
    assertThatThrownBy(() -> cache.lookup("a b")).isExactlyInstanceOf(EVCacheInvalidKeyException.class)
                                                 .hasMessage("Key must not be contain whitespace");
    assertThatThrownBy(() -> cache.lookup("ab ")).isExactlyInstanceOf(EVCacheInvalidKeyException.class)
                                                 .hasMessage("Key must not be contain whitespace");
    assertThatThrownBy(() -> cache.lookup(" ab")).isExactlyInstanceOf(EVCacheInvalidKeyException.class)
                                                 .hasMessage("Key must not be contain whitespace");
}