@Test
public void testManeuverActionFerryForCarShuttleTrains() {

    Maneuver maneuver = mock(Maneuver.class);
    when(maneuver.getAction()).thenReturn(Action.FERRY);
    when(maneuver.getIcon()).thenReturn(com.here.android.mpa.routing.Maneuver.Icon.FERRY);
    RoadElement carShuttleRoadElement = mock(RoadElement.class);
    when(carShuttleRoadElement.getAttributes()).thenReturn(EnumSet.of(RoadElement.Attribute.CAR_SHUTTLE_TRAIN, RoadElement.Attribute
            .FERRY));
    when(maneuver.getRoadElements()).thenReturn(Collections.singletonList(carShuttleRoadElement));
    mManeuverResources = new ManeuverResources(getApplicationContext(), new ArrayList<>(Collections.singletonList(maneuver)));
    assertThat(mManeuverResources.getManeuverInstruction(0),
            equalTo(getStringFromContext(R.string.msdkui_maneuver_enter_car_shuttle_train)));
}