public function testCanFormatAMetadataModelWithNoMetadata()
{
$model = $this->getMock('Imbo\\Model\\Metadata');
$model->expects($this->once())->method('getData')->will($this->returnValue([]));
$json = $this->formatter->format($model);
$data = json_decode($json, true);
$this->assertSame([], $data);
}