test_class.declarator: locale
test_class.modifier: private
test_class.original_string: private Locale locale;
test_class.type: Locale
test_class.var_name: locale
test_class.file: framework/frontend/src/test/java/org/koenighotze/jee7hotel/framework/frontend/converter/LocalDateConverterTest.java
test_class.identifier: LocalDateConverterTest
test_case.body: @Test(expected = ConverterException.class)
      public void invalid_date_strings_result_in_a_conversion_exception() {
          new LocalDateConverter().getAsObject(mock(FacesContext.class), mock(UIComponent.class), "adsdas");
      }
test_case.class_method_signature: LocalDateConverterTest.invalid_date_strings_result_in_a_conversion_exception()
test_case.full_signature: @Test(expected = ConverterException.class) public void invalid_date_strings_result_in_a_conversion_exception()
test_case.identifier: invalid_date_strings_result_in_a_conversion_exception
test_case.invocations: getAsObject mock mock
test_case.modifiers: @Test(expected = ConverterException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void invalid_date_strings_result_in_a_conversion_exception()
focal_class.file: framework/frontend/src/main/java/org/koenighotze/jee7hotel/framework/frontend/converter/LocalDateConverter.java
focal_class.identifier: LocalDateConverter
focal_class.interfaces: implements Converter
focal_class.class_method_signature: LocalDateConverter.getAsObject(FacesContext context, UIComponent component, String value)
focal_class.full_signature: @Override public Object getAsObject(FacesContext context, UIComponent component, String value)
focal_class.identifier: getAsObject
focal_class.modifiers: @Override public
focal_class.parameters: (FacesContext context, UIComponent component, String value)
focal_class.return: Object
focal_class.signature: Object getAsObject(FacesContext context, UIComponent component, String value)
focal_class.class_method_signature: LocalDateConverter.getAsString(FacesContext context, UIComponent component, Object value)
focal_class.full_signature: @Override public String getAsString(FacesContext context, UIComponent component, Object value)
focal_class.identifier: getAsString
focal_class.modifiers: @Override public
focal_class.parameters: (FacesContext context, UIComponent component, Object value)
focal_class.return: String
focal_class.signature: String getAsString(FacesContext context, UIComponent component, Object value)
focal_method.body: @Override
      public Object getAsObject(FacesContext context, UIComponent component, String value) {
          if (isBlank(value)) {
              return null;
          }
  
          try {
              return LocalDate.parse(value);
          }
          catch (DateTimeParseException e) {
              throw new ConverterException(new FacesMessage(SEVERITY_ERROR, "Please provide a date using a format like 2014-12-24", null), e);
          }
      }
focal_method.class_method_signature: LocalDateConverter.getAsObject(FacesContext context, UIComponent component, String value)
focal_method.full_signature: @Override public Object getAsObject(FacesContext context, UIComponent component, String value)
focal_method.identifier: getAsObject
focal_method.invocations: isBlank parse
focal_method.modifiers: @Override public
focal_method.parameters: (FacesContext context, UIComponent component, String value)
focal_method.return: Object
focal_method.signature: Object getAsObject(FacesContext context, UIComponent component, String value)