Esempio n. 1
0
 /**
  * @covers CSanquer\FakeryGenerator\Model\Config::setSeed
  * @covers CSanquer\FakeryGenerator\Model\Config::getSeed
  * @covers CSanquer\FakeryGenerator\Model\Config::generateSeed
  */
 public function testHasGetSetGenerateSeed()
 {
     $this->assertInstanceOf('\\CSanquer\\FakeryGenerator\\Model\\Config', $this->config->generateSeed());
     $this->assertInternalType('int', $this->config->getSeed());
     $this->assertInstanceOf('\\CSanquer\\FakeryGenerator\\Model\\Config', $this->config->setSeed('2354'));
     $this->assertSame(2354, $this->config->getSeed());
 }