@Test
public void testWriteFailsGracefully() {

	File file = new File("http://invalid_file_name");
	Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.RGB_565);
	BitmapWriter writer = new BitmapWriter(bitmap);
	boolean result = writer.write(file);
	Assert.assertFalse(result);
}