### Question:
Dstu3BundleResourceProvider extends AbstractBundleResourceProvider<Bundle> { @Nonnull protected OperationOutcome.IssueSeverity convert( @Nonnull FhirOperationIssueSeverity issueSeverity ) { switch ( issueSeverity ) { case INFO: return OperationOutcome.IssueSeverity.INFORMATION; case WARN: return OperationOutcome.IssueSeverity.WARNING; case ERROR: return OperationOutcome.IssueSeverity.ERROR; case FATAL: return OperationOutcome.IssueSeverity.FATAL; default: throw new AssertionError( "Unhandled issue severity: " + issueSeverity ); } } Dstu3BundleResourceProvider( @Nonnull FhirClientResourceRepository fhirClientResourceRepository, @Nonnull FhirClientSystemRepository fhirClientSystemRepository,
        @Nonnull FhirRepository fhirRepository, @Nonnull DhisRepository dhisRepository, @Nonnull RequestCacheService requestCacheService ); @Nonnull @Override FhirVersion getFhirVersion(); @Nonnull @Transaction Bundle process( @Nonnull RequestDetails requestDetails, @TransactionParam Bundle bundle );  }### Answer:
@Test public void testConvertInvalid() { Assert.assertEquals( OperationOutcome.IssueType.INVALID, provider.convert( FhirOperationIssueType.INVALID ) ); }
@Test public void testConvertProcessing() { Assert.assertEquals( OperationOutcome.IssueType.PROCESSING, provider.convert( FhirOperationIssueType.PROCESSING ) ); }
@Test public void testConvertTransient() { Assert.assertEquals( OperationOutcome.IssueType.TRANSIENT, provider.convert( FhirOperationIssueType.TRANSIENT ) ); }
@Test public void testConvertInformational() { Assert.assertEquals( OperationOutcome.IssueType.INFORMATIONAL, provider.convert( FhirOperationIssueType.INFORMATIONAL ) ); }
@Test public void testConvertInformation() { Assert.assertEquals( OperationOutcome.IssueSeverity.INFORMATION, provider.convert( FhirOperationIssueSeverity.INFO ) ); }
@Test public void testConvertWarning() { Assert.assertEquals( OperationOutcome.IssueSeverity.WARNING, provider.convert( FhirOperationIssueSeverity.WARN ) ); }
@Test public void testConvertError() { Assert.assertEquals( OperationOutcome.IssueSeverity.ERROR, provider.convert( FhirOperationIssueSeverity.ERROR ) ); }
@Test public void testConvertFatal() { Assert.assertEquals( OperationOutcome.IssueSeverity.FATAL, provider.convert( FhirOperationIssueSeverity.FATAL ) ); }