コード例 #1
0
ファイル: UserTest.php プロジェクト: ndrx-io/profiler
 protected function setUp()
 {
     parent::setUp();
     $this->datasource = new Memory();
     $this->process = Process::build();
     $this->collector = new User($this->process, $this->datasource);
     $user = new \stdClass();
     $user->email = '*****@*****.**';
     $user->id = 1;
     $user->phone = '+33123456789';
     $this->collector->setUser($user);
 }