コード例 #1
0
  public void test_createFunctionHolder() throws Exception {
    PreferencesForTesting pref =
        new PreferencesForTesting() {

          @Override
          public FunctionHolder getFunctionHolder() {
            return myFunctionHolder;
          }
        };
    assertSame(pref.getFunctionHolder(), pref.createFunctionHolder(new Context()));
  }