car/src/androidTest/java/androidx/car/navigation/utils/BundleMarshallerTest.java
@Test
    public void listSerialization_listOfSize0() {
        TestBundlable value = new TestBundlable().setListValue(new ArrayList<>());
        value.toBundle(mBundleMarshaller);
        Bundle data = mBundleMarshaller.getBundle();
        assertEquals(0, data.getInt("bundlableListValue._size"));
    }
/**
     * Tests the correct serialization of a list of size 0.
     */
Tests the correct serialization of a list of size 0.
Tests the correct serialization of a list of size 0 .
@Test
    public void listSerialization_listOfSize0() {
        TestBundlable value = new TestBundlable().setListValue(new ArrayList<>());
        value.toBundle(mBundleMarshaller);
        Bundle data = mBundleMarshaller.getBundle();
        assertEquals(0, data.getInt("bundlableListValue._size"));
    }
@ Test public void listSerialization_listOfSize0 ( ) { TestBundlable value = new TestBundlable ( ) . setListValue ( new ArrayList < > ( ) ) ; value . toBundle ( mBundleMarshaller ) ; Bundle data = mBundleMarshaller . getBundle ( ) ; assertEquals ( 0 , data . getInt ( "bundlableListValue._size" ) ) ; }
Tests the correct serialization of a list of size 0.
Tests the correct serialization of a list of size 0 .