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

  final ValidatingTransform vt1 = new ValidatingTransform();
  final Matrix4 matrix = new Matrix4();
  vt1.fromHomogeneousMatrix(matrix); // good
  matrix.setM00(Double.NaN);
  vt1.fromHomogeneousMatrix(matrix); // bad
}