예제 #1
0
 /**
  * @test
  */
 public function userIsExpectedWhenGetUser()
 {
     $authentication = new \Jumper\Communicator\Authentication\None('root');
     $this->assertEquals('root', $authentication->getUser());
 }
예제 #2
0
파일: NoneTest.php 프로젝트: sayiho/Jumper
 /**
  * @test
  */
 public function nullExpectedWhenGetAuthentication()
 {
     $authentication = new \Jumper\Communicator\Authentication\None('root');
     $this->assertNull($authentication->getAuthentication());
 }