/** * @covers PasswordLib\Random\Factory::registerMixer * @covers PasswordLib\Random\Factory::getMixers */ public function testRegisterMixer() { $factory = new Factory(); $factory->registerMixer('mock', 'PasswordLibTest\\Mocks\\Random\\Mixer'); $test = $factory->getMixers(); $this->assertTrue(in_array('PasswordLibTest\\Mocks\\Random\\Mixer', $test)); }