@Test(expected = DecoderNotFoundException.class)
public void testOnCommandPreparedDecodedNotRegistred() {

    // Setup
    final InboundCommandPrepared commandPrepared = mock(InboundCommandPrepared.class);
    final CommandMeta meta = mock(CommandMeta.class);
    when(mockDecoderRegistry.containsKey(anyString())).thenReturn(false);
    when(commandPrepared.getMeta()).thenReturn(meta);
    // Run the test
    languageTranslatorImplUnderTest.onCommandPrepared(commandPrepared);
    // Verify the results
    verify(mockBubbleCache, never()).addBubble(anyString(), any(BubbleMessage.class));
    verify(mockPublisher, never()).publishEvent(any());
}