private BindingContext bindingContextOfThrowingExceptionWhenRetrievingPropertyValueModel() {
    when(bindingContext.getPropertyValueModel(anyString())).thenThrow(new RuntimeException());
    when(bindingContext.getReadOnlyPropertyValueModel(anyString()))
        .thenThrow(new RuntimeException());
    when(bindingContext.getDataSetPropertyValueModel(anyString()))
        .thenThrow(new RuntimeException());

    return bindingContext;
  }