@Override
  public Rule getByUuid(String uuid) {
    ensureInitialized();

    Rule rule = rulesByUuid.get(uuid);
    checkArgument(rule != null, "Can not find rule for uuid %s. This rule does not exist in DB", uuid);
    return rule;
  }
@Test
  public void first_call_to_getById_triggers_call_to_db_and_any_subsequent_get_or_find_call_does_not() {
    underTest.getByUuid(AB_RULE.getUuid());

    verify(ruleDao, times(1)).selectAll(any(DbSession.class));

    verifyNoMethodCallTriggersCallToDB();
  }