Exemplo n.º 1
0
 public function setUp()
 {
     $post = json_decode(file_get_contents(__DIR__ . '/data.json'), true);
     $this->v = Indie::withLocalization('en_US');
     $this->v->import($post);
 }
Exemplo n.º 2
0
 public function testMultipleImport()
 {
     $this->v->import(["import" => "import"]);
     $this->v->key('import')->with(new Rule\Equals('import'));
     $this->assertTrue($this->v->isValid('import'));
 }