### Question:
RouteLegProgress { public abstract int stepIndex();  abstract int stepIndex(); double distanceTraveled(); abstract double distanceRemaining(); double durationRemaining(); float fractionTraveled(); @Nullable LegStep previousStep(); @NonNull LegStep currentStep(); @Nullable LegStep upComingStep(); @Nullable LegStep followOnStep(); abstract RouteStepProgress currentStepProgress(); abstract List<Point> currentStepPoints(); @Nullable abstract List<Point> upcomingStepPoints(); @Nullable abstract CurrentLegAnnotation currentLegAnnotation(); static Builder builder();  }### Answer:
@Test public void stepIndex_returnsCurrentStepIndex() throws Exception { RouteProgress routeProgress = buildDefaultTestRouteProgress(); routeProgress = routeProgress.toBuilder().stepIndex(3).build(); assertEquals(3, routeProgress.currentLegProgress().stepIndex(), BaseTest.DELTA); }