test_class.declarator: converter = new DateToCalendarConverter()
test_class.original_string: DateToCalendarConverter converter = new DateToCalendarConverter();
test_class.type: DateToCalendarConverter
test_class.var_name: converter
test_class.file: beanmother-core/src/test/java/io/beanmother/core/converter/std/DateToCalendarConverterTest.java
test_class.identifier: DateToCalendarConverterTest
test_case.body: @Test
      public void testConvert() throws ParseException {
          String dateString = "06/27/2017";
          DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
          Date date;
          date = df.parse(dateString);
  
          Calendar cal = converter.convert(date);
          assertEquals(date.getTime(), cal.getTime().getTime());
  
          dateString = "01/02/2016";
          date = df.parse(dateString);
          cal = converter.convert(date);
          assertEquals(date.getTime(), cal.getTime().getTime());
      }
test_case.class_method_signature: DateToCalendarConverterTest.testConvert()
test_case.full_signature: @Test public void testConvert()
test_case.identifier: testConvert
test_case.invocations: parse convert assertEquals getTime getTime getTime parse convert assertEquals getTime getTime getTime
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConvert()
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/converter/std/DateToCalendarConverter.java
focal_class.identifier: DateToCalendarConverter
focal_class.class_method_signature: DateToCalendarConverter.convert(Date source)
focal_class.full_signature: @Override public Calendar convert(Date source)
focal_class.identifier: convert
focal_class.modifiers: @Override public
focal_class.parameters: (Date source)
focal_class.return: Calendar
focal_class.signature: Calendar convert(Date source)
focal_class.superclass: extends AbstractGenericConverter<Date, Calendar>
focal_method.body: @Override
      public Calendar convert(Date source) {
          Calendar cal = new GregorianCalendar();
          cal.setTime(source);
          return cal;
      }
focal_method.class_method_signature: DateToCalendarConverter.convert(Date source)
focal_method.full_signature: @Override public Calendar convert(Date source)
focal_method.identifier: convert
focal_method.invocations: setTime
focal_method.modifiers: @Override public
focal_method.parameters: (Date source)
focal_method.return: Calendar
focal_method.signature: Calendar convert(Date source)