/** * @covers Geissler\CSL\Context\Context::getOptions */ public function testGetOptions1() { $this->assertInstanceOf($this->class, $this->object->setName('bibliography')); $this->assertInstanceOf($this->class, $this->object->addStyle('test', true)); $this->assertInstanceOf($this->class, $this->object->addCitation('testMe', 123)); $this->assertInstanceOf($this->class, $this->object->addBibliography('testMore', 'blub')); $this->assertInternalType('array', $this->object->getOptions()); $this->assertArrayHasKey('test', $this->object->getOptions()); $this->assertArrayHasKey('testMore', $this->object->getOptions()); $this->assertArrayNotHasKey('testMe', $this->object->getOptions()); }