### Question:
VoiceInstructionMilestone extends Milestone { @Override public Instruction getInstruction() { return new Instruction() { @Override public String buildInstruction(RouteProgress routeProgress) { if (instructions == null) { return routeProgress.currentLegProgress().currentStep().name(); } return instructions.announcement(); } }; } VoiceInstructionMilestone(Builder builder); @Override boolean isOccurring(RouteProgress previousRouteProgress, RouteProgress routeProgress); @Override Instruction getInstruction(); String getSsmlAnnouncement(); String getAnnouncement();  }### Answer:
@Test public void onNullMilestoneInstructions_stepNameIsReturnedForInstruction() throws Exception { RouteProgress routeProgress = buildDefaultTestRouteProgress(); LegStep currentStep = routeProgress.currentLegProgress().currentStep(); VoiceInstructionMilestone milestone = buildVoiceInstructionMilestone(); assertEquals(currentStep.name(), milestone.getInstruction().buildInstruction(routeProgress)); }