Ejemplo n.º 1
0
 /**
  * @covers PasswordLib\Random\Factory::registerSource
  * @covers PasswordLib\Random\Factory::getSources
  */
 public function testRegisterSource()
 {
     $factory = new Factory();
     $factory->registerSource('mock', 'PasswordLibTest\\Mocks\\Random\\Source');
     $test = $factory->getSources();
     $this->assertTrue(in_array('PasswordLibTest\\Mocks\\Random\\Source', $test));
 }