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

  final ValidatingTransform vt1 = new ValidatingTransform();
  final Matrix3 rotation = new Matrix3();
  vt1.setRotation(rotation); // good
  rotation.setM00(Double.NaN);
  vt1.setRotation(rotation); // bad
}