### Question:
DateTimeStandardizer implements StandardizationPolicy { public Boolean accepts(Object value) { return (value instanceof String); } DateTimeStandardizer(OutputFormats outputFormat);  DateTimeStandardizer(String inputDateFormat, OutputFormats outputFormat);  DateTimeStandardizer(@PolicyPropertyRef(name = "Date Format") String inputDateFormat,
                                @PolicyPropertyRef(name = "Output Format") OutputFormats outputFormat,
                                @PolicyPropertyRef(name = "Input Timezone") String inputTimezone,
                                @PolicyPropertyRef(name = "Output Timezone") String outputTimezone); @Override String convertValue(String value); String getInputDateFormat(); OutputFormats getOutputFormat(); Boolean accepts(Object value); Object convertRawValue(Object value);  }### Answer:
@Test public void testAcceptValidType() { DateTimeStandardizer standardizer = new DateTimeStandardizer("YYYY-MM-dd", OutputFormats.DATE_ONLY); assertTrue(standardizer.accepts("2017-03-28")); }
@Test public void testAcceptInvalidType() { DateTimeStandardizer standardizer = new DateTimeStandardizer("YYYY-MM-dd", OutputFormats.DATE_ONLY); Double doubleValue = 1000.05d; assertFalse(standardizer.accepts(doubleValue)); }