0
    assertEquals(Float.valueOf(7), Float.valueOf(bundle.getFloat("bar", 7)));
  } 
 
  @Test 
  public void testGetOfWrongType() { 
    bundle.putFloat("foo", 5f);
    assertEquals(0, bundle.getChar("foo"));
    assertEquals(null, bundle.getCharArray("foo"));
    assertEquals(0, bundle.getInt("foo"));
    assertEquals(null, bundle.getIntArray("foo"));
    assertEquals(null, bundle.getIntegerArrayList("foo"));
    assertEquals(0, bundle.getShort("foo"));
    assertEquals(null, bundle.getShortArray("foo"));
    assertEquals(false, bundle.getBoolean("foo"));
    assertEquals(null, bundle.getBooleanArray("foo"));
    assertEquals(0, bundle.getLong("foo"));
    assertEquals(null, bundle.getLongArray("foo"));
    assertEquals(null, bundle.getFloatArray("foo"));
    assertEquals(0, bundle.getDouble("foo"), 0.005);
    assertEquals(null, bundle.getDoubleArray("foo"));
    assertEquals(null, bundle.getString("foo"));
    assertEquals(null, bundle.getStringArray("foo"));
    assertEquals(null, bundle.getStringArrayList("foo"));
    assertEquals(null, bundle.getBundle("foo"));
    assertEquals(null, bundle.getParcelable("foo"));
    assertEquals(null, bundle.getParcelableArray("foo"));
    assertEquals(null, bundle.getParcelableArrayList("foo"));