assertEquals(200, resizedImage.getHeight());
}
@Test
public void testResizeAsync() throws IOException {
InputSettings inputSettings = new InputSettings();
OutputSettings outputSettings = new OutputSettings(OutputEncoding.PNG);
Image originalImage = readImage(CAPEDWARF_PNG);
Image resizedImage = waitOnFuture(imagesService.applyTransformAsync(ImagesServiceFactory.makeResize(400, 286), originalImage));
assertEquals(400, resizedImage.getWidth());