/**
  * Returns the string "timestamp".
  */
 public function testReturnsTheStringTimestamp()
 {
     $instance = new FieldType\Timestamp();
     $result = $instance->toNative();
     static::assertEquals('timestamp', $result);
 }
 /**
  * Throws a BadMethodCallException because no native is allowed for this type.
  * @expectedException \BadMethodCallException
  * @expectedExceptionMessage Cannot create a Timestamp object via this method.
  */
 public function testThrowsABadMethodCallExceptionBecauseNoNativeIsAllowedForThisType()
 {
     FieldType\Timestamp::fromNative();
 }