public void testTransform() throws Exception {
Rectangle expected = new Rectangle();
expected.setBounds(0, 0, 100, 200);
map.put("bounds", "0,0,100,200");
ValueMap properties = new ValueMapDecorator(map);
transformer.transform(layer, properties);
verify(layer, times(1)).crop(expected);
}