@Test
public void testInvert() {

  final Matrix4 mat4A = new Matrix4().applyRotationX(MathUtils.QUARTER_PI).applyTranslationPost(1, 2, 3);
  final Matrix4 inverted = mat4A.invert(null);
  assertEquals(Matrix4.IDENTITY, mat4A.multiply(inverted, null));
  assertEquals(mat4A, inverted.invertLocal());
}