示例#1
0
 /**
  * @test
  */
 function verifcar_test()
 {
     $user = new \NelsonPHP\User("*****@*****.**", "contrasenia");
     $user->setName("nelson", "m");
     $nombre = $user->getName();
     $this->assertEquals("m", $nombre);
 }
示例#2
0
<?php

require_once '..\\vendor\\autoload.php';
//$user= new \nelsonPHP\User("nelson","1234" );
$user = new NelsonPHP\User($email, $password);
$user->setName("nelson", "martinez");
var_dump($user);