assertImages(null, originalImage, ci);
}
@Test
public void testTransform() throws IOException {
CompositeTransform transform = ImagesServiceFactory.makeCompositeTransform();
transform.concatenate(ImagesServiceFactory.makeHorizontalFlip());
transform.concatenate(ImagesServiceFactory.makeHorizontalFlip());
Image originalImage = readImage(CAPEDWARF_PNG);
Image result = imagesService.applyTransform(transform, originalImage);
assertImages(transform, originalImage, result);
transform = ImagesServiceFactory.makeCompositeTransform(newArrayList(ImagesServiceFactory.makeVerticalFlip(), ImagesServiceFactory.makeVerticalFlip()));