### Question:
AbstractBundleResourceProvider extends AbstractUntypedResourceProvider { @Nullable protected IIdType getIdFromFullUrl( @Nullable String fullUrl ) { if ( fullUrl == null || fullUrl.startsWith( "urn:" ) ) { return null; } return new IdDt( fullUrl ); } AbstractBundleResourceProvider(
        @Nonnull FhirClientResourceRepository fhirClientResourceRepository,
        @Nonnull FhirClientSystemRepository fhirClientSystemRepository,
        @Nonnull FhirRepository fhirRepository, @Nonnull DhisRepository dhisRepository,
        @Nonnull RequestCacheService requestCacheService );   }### Answer:
@Test public void getIdFromFullUrlNull() { Assert.assertNull( bundleResourceProvider.getIdFromFullUrl( null ) ); }
@Test public void getIdFromFullUrl() { final IIdType id = Objects.requireNonNull( bundleResourceProvider.getIdFromFullUrl( "Patient/471192" ) ); Assert.assertEquals( new IdDt( "Patient/471192" ), id ); Assert.assertEquals( "Patient", id.getResourceType() ); Assert.assertEquals( "471192", id.getIdPart() ); }
@Test public void getIdFromFullUrlFull() { final IIdType id = Objects.requireNonNull( bundleResourceProvider.getIdFromFullUrl( "http: Assert.assertEquals( new IdDt( "http: Assert.assertEquals( "Patient", id.getResourceType() ); Assert.assertEquals( "471192", id.getIdPart() ); }