### Question:
ZoomController { public void setCurrentSpeed(float metersPerSecond) { currentDrivingSpeed = getDrivingSpeed(metersPerSecond); }  int getZoom(); int getTurnRadius(); void setTransitMode(Router.Type transitMode); void setWalkingZoom(int walkingZoom); void setBikingZoom(int bikingZoom); void setDrivingZoom(int drivingZoom); void setDrivingZoom(int zoom, DrivingSpeed speed); void setWalkingTurnRadius(int meters); void setBikingTurnRadius(int meters); void setDrivingTurnRadius(int meters); void setDrivingTurnRadius(int meters, DrivingSpeed speed); void setAverageSpeed(float metersPerSecond); void setCurrentSpeed(float metersPerSecond); static float metersPerSecondToMilesPerHour(float metersPerSecond); static float milesPerHourToMetersPerSecond(float milesPerHour); static final int DEFAULT_ZOOM; static final int DEFAULT_ZOOM_WALKING; static final int DEFAULT_ZOOM_BIKING; static final int DEFAULT_ZOOM_DRIVING; static final int DEFAULT_TURN_RADIUS; static final int DEFAULT_TURN_RADIUS_WALKING; static final int DEFAULT_TURN_RADIUS_BIKING; static final int DEFAULT_TURN_RADIUS_DRIVING; }### Answer:
@Test(expected = IllegalArgumentException.class) public void currentDrivingSpeedLessThanZero_shouldThrowError() throws Exception { controller.setCurrentSpeed(-1); }