factory = new WC_Unit_Test_Factory(); } /** * Asserts thing is not WP_Error * * @since 2.2 * @param mixed $actual * @param string $message */ public function assertNotWPError( $actual, $message = '' ) { $this->assertNotInstanceOf( 'WP_Error', $actual, $message ); } }