/** * @covers Geissler\CSL\Data\Abbreviation::set * @covers Geissler\CSL\Data\Abbreviation::get */ public function testGet() { $json = '{ "default": { "container-title": { "Journal of Irreproducible Results": "J. Irrep. Res." } } }'; $this->assertInstanceOf($this->class, $this->object->set($json)); $this->assertEquals('J. Irrep. Res.', $this->object->get('container-title', 'Journal of Irreproducible Results')); }