@Test
public void testIconEndMargin() {

    mGuidanceNextManeuverView.setIconEndMargin(10);
    final ImageView iconView = mGuidanceNextManeuverView.findViewById(R.id.nextManeuverIconView);
    final ConstraintLayout.LayoutParams layoutParams = (ConstraintLayout.LayoutParams)
            iconView.getLayoutParams();
    assertThat(layoutParams.getMarginEnd(), equalTo(10));
}