<?php

/*
Plugin Name: PHPUnit/WP_Mock
Description: Demo plugin for PHPUnit and WP_Mock
*/
require_once 'demo-plugin.php';
/**
 * Init the plugin
 */
\tenup\demo\init_actions();
 /**
  * Simple test to be sure that our plugin is adding the actions as expected
  */
 function test_init_actions()
 {
     \WP_Mock::expectActionAdded('init', '\\tenup\\demo\\action_register_cpt');
     //call the method that adds the actions we're expecting
     \tenup\demo\init_actions();
 }