test_class.file: booking/src/test/java/org/koenighotze/jee7hotel/booking/persistence/converter/ReservationStatusConverterTest.java
test_class.identifier: ReservationStatusConverterTest
test_case.body: @Test
      public void the_entity_value_of_a_null_is_null() {
          ReservationStatus value = new ReservationStatusConverter().convertToEntityAttribute(null);
          assertThat(value).isNull();
      }
test_case.class_method_signature: ReservationStatusConverterTest.the_entity_value_of_a_null_is_null()
test_case.full_signature: @Test public void the_entity_value_of_a_null_is_null()
test_case.identifier: the_entity_value_of_a_null_is_null
test_case.invocations: convertToEntityAttribute isNull assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void the_entity_value_of_a_null_is_null()
focal_class.file: booking/src/main/java/org/koenighotze/jee7hotel/booking/persistence/converter/ReservationStatusConverter.java
focal_class.identifier: ReservationStatusConverter
focal_class.interfaces: implements AttributeConverter<ReservationStatus, String>
focal_class.class_method_signature: ReservationStatusConverter.convertToDatabaseColumn(ReservationStatus x)
focal_class.full_signature: @Override public String convertToDatabaseColumn(ReservationStatus x)
focal_class.identifier: convertToDatabaseColumn
focal_class.modifiers: @Override public
focal_class.parameters: (ReservationStatus x)
focal_class.return: String
focal_class.signature: String convertToDatabaseColumn(ReservationStatus x)
focal_class.class_method_signature: ReservationStatusConverter.convertToEntityAttribute(String y)
focal_class.full_signature: @Override public ReservationStatus convertToEntityAttribute(String y)
focal_class.identifier: convertToEntityAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (String y)
focal_class.return: ReservationStatus
focal_class.signature: ReservationStatus convertToEntityAttribute(String y)
focal_method.body: @Override
      public ReservationStatus convertToEntityAttribute(String y) {
          if (null == y) {
              return null;
          }
  
          for (ReservationStatus elem : ReservationStatus.values()) {
              if (elem.name().equalsIgnoreCase(y)) {
                  return elem;
              }
          }
          
          throw new IllegalArgumentException("Cannot map " + y);
      }
focal_method.class_method_signature: ReservationStatusConverter.convertToEntityAttribute(String y)
focal_method.full_signature: @Override public ReservationStatus convertToEntityAttribute(String y)
focal_method.identifier: convertToEntityAttribute
focal_method.invocations: values equalsIgnoreCase name
focal_method.modifiers: @Override public
focal_method.parameters: (String y)
focal_method.return: ReservationStatus
focal_method.signature: ReservationStatus convertToEntityAttribute(String y)