@Test
public void testUnscalableDrawable() throws Exception {

  String original = "" +
      "<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" +
      "    android:shape=\"rectangle\">\n" +
      "  <gradient\n" +
      "      android:type=\"linear\"\n" +
      "      android:angle=\"90\"\n" +
      "      android:centerX=\"63%\"\n" +
      "      android:startColor=\"#FF36C3FF\"\n" +
      "      android:centerColor=\"#FF5BFFD9\"\n" +
      "      android:endColor=\"#FF5BFFD9\"/>\n" +
      "</shape>\n";
  String result = VectorDrawableTransformer.transform(original, new Dimension(100, 100), Gravity.CENTER, 1.2,
                                                      new Rectangle2D.Double(0.2, 0.3, 0.7, 0.5), null, null, 1);
  assertEquals(original, result);
}