### Question:
NavAction { public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; } NavAction(@IdRes int destinationId);  NavAction(@IdRes int destinationId, @Nullable NavOptions navOptions); int getDestinationId(); void setNavOptions(@Nullable NavOptions navOptions); @Nullable NavOptions getNavOptions();  }### Answer:
@Test public void setNavOptions() { NavAction action = new NavAction(DESTINATION_ID); NavOptions navOptions = new NavOptions.Builder().build(); action.setNavOptions(navOptions); assertThat(action.getNavOptions(), is(navOptions)); }