def METHOD_NAME(self):
    """Test if joint.type() works"""
    robot = gtd.CreateRobotFromFile(self.ROBOT_MODEL, "", True)
    # Test Revolute joint
    joint = robot.joint("FL_hip_joint")
    self.assertEqual(joint.type(), gtd.Joint.Type.Revolute)
    # Test Fixed joint
    imu_joint = robot.joint("imu_joint")
    self.assertEqual(imu_joint.type(), gtd.Joint.Type.Fixed)