/** * @covers Geissler\CSL\Context\Context::enter * @covers Geissler\CSL\Context\Context::in * @covers Geissler\CSL\Context\Context::get * @depends testEnter */ public function testGet() { $this->assertInstanceOf($this->class, $this->object->enter('citation', array('sort' => 'descending'))); $this->assertTrue($this->object->in('citation')); $this->assertEquals('descending', $this->object->get('sort')); $this->assertNull($this->object->get('cake')); }