/**
  * @covers Contentful\Delivery\SystemProperties::__construct
  * @covers Contentful\Delivery\SystemProperties::getId
  * @covers Contentful\Delivery\SystemProperties::getType
  * @covers Contentful\Delivery\SystemProperties::getSpace
  * @covers Contentful\Delivery\SystemProperties::getContentType
  * @covers Contentful\Delivery\SystemProperties::getRevision
  * @covers Contentful\Delivery\SystemProperties::getCreatedAt
  * @covers Contentful\Delivery\SystemProperties::getUpdatedAt
  * @covers Contentful\Delivery\SystemProperties::getDeletedAt
  */
 public function testGetter()
 {
     $space = $this->getMockBuilder(Space::class)->disableOriginalConstructor()->getMock();
     $contentType = $this->getMockBuilder(ContentType::class)->disableOriginalConstructor()->getMock();
     $sys = new SystemProperties('123', 'Type', $space, $contentType, 1, new \DateTimeImmutable('2014-08-11T08:30:42.559Z'), new \DateTimeImmutable('2014-08-12T08:30:42.559Z'), new \DateTimeImmutable('2014-08-13T08:30:42.559Z'));
     $this->assertEquals('123', $sys->getId());
     $this->assertEquals('Type', $sys->getType());
     $this->assertSame($space, $sys->getSpace());
     $this->assertSame($contentType, $sys->getContentType());
     $this->assertEquals(1, $sys->getRevision());
     $this->assertEquals(new \DateTimeImmutable('2014-08-11T08:30:42.559Z'), $sys->getCreatedAt());
     $this->assertEquals(new \DateTimeImmutable('2014-08-12T08:30:42.559Z'), $sys->getUpdatedAt());
     $this->assertEquals(new \DateTimeImmutable('2014-08-13T08:30:42.559Z'), $sys->getDeletedAt());
 }
 /**
  * Returns the time when the resource was deleted.
  *
  * @return \DateTimeImmutable
  *
  * @api
  */
 public function getDeletedAt()
 {
     return $this->sys->getDeletedAt();
 }