public Group getGroup(JID jid) throws GroupNotFoundException {
        JID groupJID = GroupJID.fromJID(jid);
        return (groupJID instanceof GroupJID) ? getGroup(((GroupJID)groupJID).getGroupName()) : null;
    }
@Test
    public void willUseACacheMiss() {

        groupCache.put(GROUP_NAME, CacheableOptional.of(null));

        try {
            groupManager.getGroup(GROUP_NAME, false);
        } catch (final GroupNotFoundException ignored) {
            verifyNoMoreInteractions(groupProvider);
            return;
        }
        fail();
    }