Since: 0.4.0
Inheritance: extends Apple_Exporter\Builders\Builder
 public function testDates()
 {
     $title = 'My Title';
     $content = '<p>Hello, World!</p>';
     $post_id = $this->factory->post->create(array('post_title' => $title, 'post_content' => $content, 'post_date' => '2016-04-01 00:00:00'));
     $content = new Exporter_Content($post_id, $title, $content, null, '/etc/somefile.jpg');
     $builder = new Metadata($content, $this->settings);
     $result = $builder->to_array();
     $this->assertEquals(8, count($result));
     $this->assertEquals('2016-04-01T00:00:00+00:00', $result['dateCreated']);
     $this->assertEquals('2016-04-01T00:00:00+00:00', $result['dateModified']);
     $this->assertEquals('2016-04-01T00:00:00+00:00', $result['datePublished']);
 }