@Test public void setValue() { TestPlanDefinition planDefinition = new TestPlanDefinition(); final TestReference reference = new TestReference(); LocationExtensionUtils.setValue( planDefinition, reference ); Assert.assertEquals( 1, planDefinition.getExtension().size() ); Assert.assertEquals( LocationExtensionUtils.URL, planDefinition.getExtension().get( 0 ).getUrl() ); Assert.assertEquals( reference, planDefinition.getExtension().get( 0 ).getValue() ); }
public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ) { BaseExtensionUtils.setReferenceValue( URL, resource, locationReference ); }
LocationExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ) { BaseExtensionUtils.setReferenceValue( URL, resource, locationReference ); } }
LocationExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ) { BaseExtensionUtils.setReferenceValue( URL, resource, locationReference ); } private  LocationExtensionUtils(); }
LocationExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ) { BaseExtensionUtils.setReferenceValue( URL, resource, locationReference ); } private  LocationExtensionUtils(); static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ); @Nullable static IBaseReference getValue( @Nonnull IBaseHasExtensions resource ); }
LocationExtensionUtils { public static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ) { BaseExtensionUtils.setReferenceValue( URL, resource, locationReference ); } private  LocationExtensionUtils(); static void setValue( @Nonnull IBaseHasExtensions resource, @Nullable IBaseReference locationReference ); @Nullable static IBaseReference getValue( @Nonnull IBaseHasExtensions resource ); static final String URL; static final String LOCATION_SEARCH_PARAM; }