lenientFactory = ReferencingFactoryFinder.getCoordinateOperationFactory(hints);
assertSame(opFactory, lenientFactory);
hints.put(Hints.LENIENT_DATUM_SHIFT, Boolean.TRUE);
lenientFactory = ReferencingFactoryFinder.getCoordinateOperationFactory(hints);
assertNotSame(opFactory, lenientFactory);
final CoordinateOperation lenient = lenientFactory.createOperation(amputedCRS, targetCRS);
assertSame(amputedCRS, lenient.getSourceCRS());
assertSame( targetCRS, lenient.getTargetCRS());
assertFalse(lenient.getCoordinateOperationAccuracy().contains(PositionalAccuracyImpl.DATUM_SHIFT_APPLIED));
assertTrue (lenient.getCoordinateOperationAccuracy().contains(PositionalAccuracyImpl.DATUM_SHIFT_OMITTED));