source: class BinaryPreferencesTest {
  
      private static final String KEY_SUFFIX;
      @Rule
      public final TemporaryFolder folder;
      private final String key;
      private File srcDir;
      private Preferences preferences;
  
      @Test
      public void floatDefaultValue() {
  
target:         float defaultValue = Float.MAX_VALUE;
  
          float restored = preferences.getFloat(key, defaultValue);
  
          assertEquals(defaultValue, restored, .0f);
      }
  
  }