@Test
public void testOnResult() {

    ImageView imageView = new ImageView(RuntimeEnvironment.application);
    ImageViewTarget target = new ImageViewTarget(imageView);
    target.placeHolder(new ColorDrawable(Color.BLUE));
    target.onPreparingLoad();
    target.onResult(Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888),
            Mirage.Source.EXTERNAL, new MirageRequest());
    imageView = new ImageView(RuntimeEnvironment.application);
    target = new ImageViewTarget(imageView);
    target.placeHolder(new ColorDrawable(Color.BLUE));
    target.fade();
    target.onPreparingLoad();
    target.onResult(Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888),
            Mirage.Source.EXTERNAL, new MirageRequest());
}