public function testShouldCastDocumentTimestamps() { // Arrange $schema = m::mock(Schema::class . '[]'); $value = null; // Assertion $this->assertInstanceOf(UTCDateTime::class, $schema->createdAtTimestamp($value)); }