@Test public void testThrowsExceptionOnEntityManagerIsNull() throws JPAIllicalAccessException { assertThrows(NullPointerException.class, () -> cut.setEntityManager(null)); }
@Override public void setEntityManager(@Nonnull final EntityManager em) { this.em = Objects.requireNonNull(em); }
JPAODataRequestContextImpl implements JPAODataCRUDRequestContext, JPAODataRequestContextAccess,
    JPARequestContext { @Override public void setEntityManager(@Nonnull final EntityManager em) { this.em = Objects.requireNonNull(em); } }
JPAODataRequestContextImpl implements JPAODataCRUDRequestContext, JPAODataRequestContextAccess,
    JPARequestContext { @Override public void setEntityManager(@Nonnull final EntityManager em) { this.em = Objects.requireNonNull(em); } JPAODataRequestContextImpl();  JPAODataRequestContextImpl(final UriInfoResource uriInfo, final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final JPAODataPage page, final JPASerializer serializer,
      final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final UriInfoResource uriInfo, @Nullable final JPASerializer serializer,
      final JPAODataRequestContextAccess context); }
JPAODataRequestContextImpl implements JPAODataCRUDRequestContext, JPAODataRequestContextAccess,
    JPARequestContext { @Override public void setEntityManager(@Nonnull final EntityManager em) { this.em = Objects.requireNonNull(em); } JPAODataRequestContextImpl();  JPAODataRequestContextImpl(final UriInfoResource uriInfo, final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final JPAODataPage page, final JPASerializer serializer,
      final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final UriInfoResource uriInfo, @Nullable final JPASerializer serializer,
      final JPAODataRequestContextAccess context); @Override Optional<JPAODataClaimProvider> getClaimsProvider(); @Override JPACUDRequestHandler getCUDRequestHandler(); @Override EntityManager getEntityManager(); @Override Optional<JPAODataGroupProvider> getGroupsProvider(); @Override JPAODataPage getPage(); @Override JPASerializer getSerializer(); @Override JPAODataTransactionFactory getTransactionFactory(); @Override UriInfoResource getUriInfo(); @Override void setClaimsProvider(final JPAODataClaimProvider provider); @Override void setCUDRequestHandler(@Nonnull final JPACUDRequestHandler jpaCUDRequestHandler); @Override void setEntityManager(@Nonnull final EntityManager em); @Override void setGroupsProvider(final JPAODataGroupProvider provider); @Override void setJPAODataPage(@Nonnull final JPAODataPage page); @Override void setDebugSupport(final DebugSupport debugSupport); @Override void setJPASerializer(@Nonnull final JPASerializer serializer); @Override void setTransactionFactory(@Nullable final JPAODataTransactionFactory transactionFactory); @Override void setUriInfo(@Nonnull final UriInfo uriInfo); @Override JPAServiceDebugger getDebugger(); void setDebugFormat(String debugFormat); JPADebugSupportWrapper getDebugSupport(); }
JPAODataRequestContextImpl implements JPAODataCRUDRequestContext, JPAODataRequestContextAccess,
    JPARequestContext { @Override public void setEntityManager(@Nonnull final EntityManager em) { this.em = Objects.requireNonNull(em); } JPAODataRequestContextImpl();  JPAODataRequestContextImpl(final UriInfoResource uriInfo, final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final JPAODataPage page, final JPASerializer serializer,
      final JPAODataRequestContextAccess context);   JPAODataRequestContextImpl(final UriInfoResource uriInfo, @Nullable final JPASerializer serializer,
      final JPAODataRequestContextAccess context); @Override Optional<JPAODataClaimProvider> getClaimsProvider(); @Override JPACUDRequestHandler getCUDRequestHandler(); @Override EntityManager getEntityManager(); @Override Optional<JPAODataGroupProvider> getGroupsProvider(); @Override JPAODataPage getPage(); @Override JPASerializer getSerializer(); @Override JPAODataTransactionFactory getTransactionFactory(); @Override UriInfoResource getUriInfo(); @Override void setClaimsProvider(final JPAODataClaimProvider provider); @Override void setCUDRequestHandler(@Nonnull final JPACUDRequestHandler jpaCUDRequestHandler); @Override void setEntityManager(@Nonnull final EntityManager em); @Override void setGroupsProvider(final JPAODataGroupProvider provider); @Override void setJPAODataPage(@Nonnull final JPAODataPage page); @Override void setDebugSupport(final DebugSupport debugSupport); @Override void setJPASerializer(@Nonnull final JPASerializer serializer); @Override void setTransactionFactory(@Nullable final JPAODataTransactionFactory transactionFactory); @Override void setUriInfo(@Nonnull final UriInfo uriInfo); @Override JPAServiceDebugger getDebugger(); void setDebugFormat(String debugFormat); JPADebugSupportWrapper getDebugSupport();  }