/**
   * If a property contains a "TYPE=pref" parameter and it's being marshalled to 4.0, it should
   * replace "TYPE=pref" with "PREF=1".
   */
  @Test
  public void prepareParameters_type_pref() {
    Address property = new Address();
    property.addType(AddressType.PREF);

    // 2.1 and 3.0 keep it
    sensei.assertPrepareParams(property).versions(V2_1, V3_0).expected("TYPE", "pref").run();

    // 4.0 converts it to "PREF=1"
    sensei.assertPrepareParams(property).versions(V4_0).expected("PREF", "1").run();
  }