public function testCanFormatAnArrayModel()
{
$data = ['some key' => 'some value', 'some other key' => 'some other value', 'nested' => ['subkey' => ['subsubkey' => 'some value']]];
$model = $this->getMock('Imbo\\Model\\ArrayModel');
$model->expects($this->once())->method('getData')->will($this->returnValue($data));
$json = $this->formatter->format($model);
$this->assertSame(json_decode($json, true), $data);
}