예제 #1
0
 /**
  * Test set/get user ID to make sure it passes the correct ID.
  * @since 2.6.0
  */
 public function test_wc_payment_user_id()
 {
     $token = new WC_Payment_Token_Stub();
     $token->set_user_id(1);
     $this->assertEquals(1, $token->get_user_id());
 }