Class Test_CMB2_REST_Controllers
Test the REST endpoints
- WP_UnitTestCase
- 
			 Test_CMB2 Test_CMB2
- 
			 Test_CMB2_Rest_Base Test_CMB2_Rest_Base
- 
			 Test_CMB2_REST_Controllers Test_CMB2_REST_Controllers
License: GPL-2.0+
Author: CMB2 team
Link: https://pantheon.io/blog/test-coverage-your-wp-rest-api-project
Link: https://github.com/danielbachhuber/pantheon-rest-api-demo/blob/master/tests/test-rest-api-demo.php
Todo: More Tests for maybe_hook_registered_callback.
Group: cmb2-rest-api
Located at tests/test-cmb-rest-controllers.php
Methods summary
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 public
				 | |
| 
				 protected static
				 | 
Methods inherited from Test_CMB2_Rest_Base
				assertRequestResponseStatus(),
				assertResponseData(),
				assertResponseErrorCode(),
				assertResponseStatus(),
				assertResponseStatuses(),
				reset_instances(),
				set_up_and_init()
			
Methods inherited from Test_CMB2
				assertContainsOnlyInstancesOf(),
				assertHTMLstringsAreEqual(),
				assertIsDefined(),
				assertNotFalse(),
				assertOEmbedResult(),
				assertOEmbedResultString(),
				assertVerifiersMatch(),
				capture_render(),
				compare_strings(),
				hook_to_wp_die(),
				invokeMethod(),
				is_connected(),
				normalize_http_string(),
				normalize_string(),
				oembed_no_connection_result(),
				oembed_no_connection_result_verifiers(),
				oembed_success_result(),
				oembed_success_result_verifiers(),
				render_field(),
				wp_die()