/** * @covers FOF30\Hal\Document::render */ public function testRender_success() { $data = array('test1' => 'one', 'test2' => 'two', 'testArray' => array('testUno' => 'uno', 'testDue' => 'Due')); $document = new Document($data); $data = $document->render('json'); $this->assertInternalType('string', $data, 'Line: ' . __LINE__ . '.'); }