gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

PasswordTest.php (427B)


      1 <?php
      2 
      3 
      4 namespace Ssh\Authentication;
      5 
      6 /**
      7  * @covers \Ssh\Authentication\Password
      8  */
      9 class PasswordTest extends \PHPUnit_Framework_TestCase
     10 {
     11     public function testClass() {
     12         $pass = new Password('user', 'pass');
     13         $this->assertInstanceOf('\Ssh\Authentication', $pass);
     14 
     15         $this->assertAttributeEquals('user', 'username', $pass);
     16         $this->assertAttributeEquals('pass', 'password', $pass);
     17     }
     18 }
     19