public function testValueWithTimestampType() { $value = GiiantFaker::value(GiiantFaker::TYPE_TIMESTAMP); $this->specify('returned value is string containing timestamp', function () use($value) { expect('value is not empty', $value)->notEmpty(); expect('value is string', is_string($value))->true(); \DateTime::createFromFormat(GiiantFaker::FORMAT_TIMESTAMP, $value); }); }