title: How to access programmatically the list of resources in Plone 5 registry
body: <p>I'm writing tests for some packages and I need to verify if some static resources are being registered correctly.</p>
  
  <p>Before Plone 5 I can do that just by accessing the resource registries like this:</p>
  
  <pre class="lang-py prettyprint-override"><code>self.portal.portal_javascripts.getResourceIds()
  self.portal.portal_css.getResourceIds()
  </code></pre>
  
  <p>How can I accomplish that task in Plone 5?</p>