@Test
public void testIcon() {

    //test CAR
    Route route = new MockUtils.MockRouteBuilder().getRoute();
    Integer id = RouteUtil.getIcon(route);
    assertThat(id, equalTo(R.drawable.ic_drive));
    //test TRUCK
    route = new MockUtils.MockRouteBuilder().setTransportMode(RouteOptions.TransportMode.TRUCK).getRoute();
    id = RouteUtil.getIcon(route);
    assertThat(id, equalTo(R.drawable.ic_truck_24));
    //test PEDESTRIAN
    route = new MockUtils.MockRouteBuilder().setTransportMode(RouteOptions.TransportMode.PEDESTRIAN).getRoute();
    id = RouteUtil.getIcon(route);
    assertThat(id, equalTo(R.drawable.ic_walk_24));
    //test BICYCLE
    route = new MockUtils.MockRouteBuilder().setTransportMode(RouteOptions.TransportMode.BICYCLE).getRoute();
    id = RouteUtil.getIcon(route);
    assertThat(id, equalTo(R.drawable.ic_bike_24));
    //test SCOOTER
    route = new MockUtils.MockRouteBuilder().setTransportMode(RouteOptions.TransportMode.SCOOTER).getRoute();
    id = RouteUtil.getIcon(route);
    assertThat(id, equalTo(R.drawable.ic_scooter));
}