/** * check that get will return null for none existing key */ public function testGetDataForNoneExistingKey() { $object = new Object(); $object->stopOutputPreparation(); $this->assertNull($object->get('some_key')); }