### Question:
SimpleExample { public void rotate() throws IOException { System.out.println("==========对图片进行旋转============"); String destFile = saveDir + "/rotate-small.jpg"; Thumbnails.of(imgFile) .scale(0.25f) .rotate(180) .toFile(destFile); printlnImageInfo(destFile); destFile = saveDir + "/rotate-big.jpg"; Thumbnails.of(imgFile) .scale(2.0f) .rotate(-90) .toFile(destFile); printlnImageInfo(destFile); System.out.println("\r\n"); } SimpleExample(String saveDir); void reSize(); void scale(); void forceReSize(); void rotate(); void watermark(); void sourceRegion(); void outputFormat(); void listFilesChange(); static void printlnImageInfo(String imgFile);  }### Answer:
@Test public void rotate() throws IOException { simpleExample.rotate(); }