@Test public void resetValue() { TestPlanDefinition planDefinition = new TestPlanDefinition(); IncidentDateExtensionUtils.setValue( planDefinition, new Date(), TypeFactory::createType ); IncidentDateExtensionUtils.setValue( planDefinition, null, TypeFactory::createType ); Assert.assertTrue( planDefinition.getExtension().isEmpty() ); }
public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ) { BaseExtensionUtils.setDateValue( URL, resource, date, typeFactory ); }
IncidentDateExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ) { BaseExtensionUtils.setDateValue( URL, resource, date, typeFactory ); } }
IncidentDateExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ) { BaseExtensionUtils.setDateValue( URL, resource, date, typeFactory ); } private  IncidentDateExtensionUtils(); }
IncidentDateExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ) { BaseExtensionUtils.setDateValue( URL, resource, date, typeFactory ); } private  IncidentDateExtensionUtils(); static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ); @Nullable static Date getValue( @Nonnull IBaseHasExtensions resource ); }
IncidentDateExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ) { BaseExtensionUtils.setDateValue( URL, resource, date, typeFactory ); } private  IncidentDateExtensionUtils(); static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable Date date, @Nonnull Function<String, IElement> typeFactory ); @Nullable static Date getValue( @Nonnull IBaseHasExtensions resource ); static final String URL; }