@Test
public void testLoadUri() throws Exception {

    Mirage mirage = new Mirage(RuntimeEnvironment.application);
    MirageRequest request = mirage.load(Uri.parse("http://www.google.com/"));
    Assert.assertEquals(Uri.parse("http://www.google.com/"), request.uri());
    request = mirage.load(Uri.parse("file://sdcard/file1.jpg"));
    Assert.assertEquals(Uri.parse("file://sdcard/file1.jpg"), request.uri());
    request = mirage.load(Uri.parse("content://some/path/file1.jpg"));
    Assert.assertEquals(Uri.parse("content://some/path/file1.jpg"), request.uri());
}