@Override
  public boolean addRole(Role role) {
    return role
        .instance()
        .map(inst -> {
          roles.put(role, inst);
          return true;
        })
        .orElse(false);
  }
@Test
  void addRole() {
    var core = new CustomerCore();
    assertTrue(core.addRole(Role.BORROWER));
  }