@Test public void testBadUrl() {

  try {
    okHttpDownloader.start(Uri.parse("www.baidu.com"), 0);
  } catch (Exception e) {
    if (e instanceof IllegalArgumentException) {
      assertEquals("unexpected url: www.baidu.com", e.getMessage());
    }
  }
}