public function testGenerate() { $result = $this->object->generate(); $this->assertNotEmpty($result); $this->assertInternalType('string', $result); sleep(1); $this->assertNotEquals($result, $this->object->generate(), 'Unique value is expected'); }