@Test(expected = InvalidTransformException.class)
public void testSetScaleDouble() {

  final ValidatingTransform vt1 = new ValidatingTransform();
  vt1.setScale(1); // good
  vt1.setScale(Double.NaN); // bad
}