### Question:
SyncOptions { public static EvaluationMode getModelQueryMode(@NonNull ProjectOptions options) { if (options.get(BooleanOption.IDE_BUILD_MODEL_ONLY_ADVANCED)) { return EvaluationMode.IDE; } return EvaluationMode.STANDARD; } private  SyncOptions(); static EvaluationMode getModelQueryMode(@NonNull ProjectOptions options); static ErrorFormatMode getErrorFormatMode(@NonNull ProjectOptions options); @Nullable static Integer buildModelOnlyVersion(@NonNull ProjectOptions options);  }### Answer:
@Test public void getModelQueryMode() throws Exception { ProjectOptions noOptions = new ProjectOptions(ImmutableMap.of()); assertThat(SyncOptions.getModelQueryMode(noOptions)).isEqualTo(EvaluationMode.STANDARD); ProjectOptions advancedOptions = new ProjectOptions( ImmutableMap.of( "android.injected.build.model.only.advanced", "true", "android.injected.build.model.only", "true")); assertThat(SyncOptions.getModelQueryMode(advancedOptions)).isEqualTo(EvaluationMode.IDE); }