@Test
public void getOrAdd_primitiveReturn() throws Exception {

  try {
    repo.getOrAdd(TypeToken.of(int.class), config);
    fail("expected IllegalArgumentException");
  } catch (IllegalArgumentException expected) {
    // expected
  }
}