    @Test
    public void readBotTrigger_CacheHit() throws IResourceStore.ResourceNotFoundException, IResourceStore.ResourceStoreException {

        //setup
        final BotTriggerConfiguration expected = createExpectedBotTriggerConfiguration();
        when(botTriggersCache.get(eq(intent))).thenAnswer(invocation -> expected);

        //test
        BotTriggerConfiguration actual = restBotTriggerStore.readBotTrigger(intent);

        //assert
        Assert.assertEquals(expected, actual);
        Mockito.verify(botTriggersCache, Mockito.times(1)).get(eq(intent));
        Mockito.verify(botTriggersCache, Mockito.never()).put(eq(intent), any());
        Mockito.verify(botTriggerStore, Mockito.never()).readBotTrigger(eq(intent));
    }