@CanIgnoreReturnValue
  public PrefItem addValue(String key, String value) {
    mValues.put(validKey(key), value);
    return this;
  }
@Test(expected = java.lang.IllegalArgumentException.class)
  public void testFailsIfKeyHasSpaces() {
    mPrefItem.addValue("key ", "value");
  }