aboutsummaryrefslogtreecommitdiffstats
path: root/AndroidAsyncTest/src/com/koushikdutta/async/test/BodyTests.java
blob: e8038491b39d328fe3cda248663f2c09c1c87186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.koushikdutta.async.test;

import android.test.AndroidTestCase;

import com.koushikdutta.async.http.Multimap;
import com.koushikdutta.async.http.body.UrlEncodedFormBody;

/**
 * Created by koush on 3/19/14.
 */
public class BodyTests extends AndroidTestCase {
    public void testNullValue() throws Exception {
        Multimap mm = new Multimap();
        mm.add("hello", null);
        UrlEncodedFormBody body = new UrlEncodedFormBody(mm);

        int length = body.length();
    }
}