/**
  * Test cloning the registry
  *
  * Attempting to clone the registry should trigger an error.
  */
 public function test_clone()
 {
     $this->setExpectedException('PHPUnit_Framework_Error');
     $cloned_registry = clone WP_Stream_Wrapper_Registry::get_registry();
 }
/**
 * Initializes WP Stream Wrapper Registry
 *
 * Builds the stream wrapper registry. This is a helper function that simply
 * makes sure that the registry gets built before use.
 *
 * @since   1.0.0
 */
function wp_stream_wrapper_registry_init()
{
    $registry = WP_Stream_Wrapper_Registry::get_registry();
}