### Question:
BaseExtensionUtils { @Nullable protected static IBaseReference getReferenceValue( @Nonnull String url, @Nonnull IBaseHasExtensions resource ) { final IBaseDatatype value = getValue( url, resource ); if ( value instanceof IBaseReference ) { return (IBaseReference) value; } return null; } private  BaseExtensionUtils();   }### Answer:
@Test public void getReferenceValue() { TestPlanDefinition planDefinition = new TestPlanDefinition(); final IBaseReference reference = new TestReference(); BaseExtensionUtils.setReferenceValue( "testUrl", planDefinition, reference ); Assert.assertSame( reference, BaseExtensionUtils.getReferenceValue( "testUrl", planDefinition ) ); }