ManeuverResources { public String getArrivedAtDestinationInstruction() { return mContext.getString(R.string.msdkui_maneuver_end); } @SuppressWarnings("PMD.NcssCount") // There is no purpose to break this constuctor into smaller functions. /** * Constructs a new instance using a list of maneuvers. */  ManeuverResources(final Context context, final List<Maneuver> maneuverList); int getStartIconId(); int getDestinationIconId(); int getManeuverIconId(final int index); String getManeuverInstruction(final int index); int getDistanceFromNext(final int index); String getRoadToDisplay(final int index); String getExitDirections(final Maneuver maneuver); String getString(final Integer id); String getArrivedAtDestinationInstruction();  }
@Test public void testGetArrivedAtDestinationInstructionReturnsArrivalString() { mManeuverResources = new ManeuverResources(getApplicationContext(), null); String arrivedAtDestinationInstruction = mManeuverResources.getArrivedAtDestinationInstruction(); assertThat(arrivedAtDestinationInstruction, equalToIgnoringCase(getStringFromContext(R.string.msdkui_maneuver_end))); }