def METHOD_NAME(self):
    """Test extractPose2."""
    initial = gtsam.Values()
    pose2 = np.asarray((0.0, 0.1, 0.1))
    initial.insert(1, gtsam.Pose2(*pose2))
    initial.insert(2, gtsam.Point3(0.0, 0.1, 0.0))
    np.testing.assert_allclose(gtsam.utilities.extractPose2(initial),
                               pose2.reshape(-1, 3))