    @Test
    public void setAngleRange() throws IOException {

        Servo servo = new Servo(mPwm);

        final double minAngle = -100, maxAngle = 100;
        servo.setAngleRange(minAngle, maxAngle);
        assertEquals(minAngle, servo.getMinimumAngle(), EPSILON);
        assertEquals(maxAngle, servo.getMaximumAngle(), EPSILON);
    }