def METHOD_NAME(self):  # pylint: disable=no-self-use
    data = {
        'l1_key': {
            'l2_key': 10
        },
        'l1_instance': TestClass(l2_key=20)
    }
    self.assertEqual(
        data.get('l1_key'),
        get_data_by_path(data, data_path='l1_key')
    )
    self.assertEqual(
        10,
        get_data_by_path(data, data_path='l1_key.l2_key')
    )
    self.assertEqual(
        20,
        get_data_by_path(data, data_path='l1_instance.l2_key')
    )
    self.assertEqual(
        data.get('l1_instance'),
        get_data_by_path(data, data_path='l1_instance')
    )
    try:
        get_data_by_path(data, data_path='wrong_ley')
        self.fail("Should have failed")
    except ValueError:
        pass
    self.assertEqual(
        None,
        get_data_by_path(data, data_path='l1_key_wrong', default=None)
    )
    self.assertEqual(
        None,
        get_data_by_path(data, data_path='l1_key.l2_key_wrong', default=None)
    )
    self.assertEqual(
        None,
        get_data_by_path(data, data_path='l1_instance.l2_key_wrong', default=None)
    )
    self.assertEqual(
        None,
        get_data_by_path(data, data_path='l1_instance.l2_key.l3_key', default=None)
    )
    self.assertEqual(
        '<NONE>',
        get_data_by_path(data, data_path='l1_key_wrong', default='<NONE>')
    )
    self.assertEqual(
        '<NONE>',
        get_data_by_path(data, data_path='l1_key.l2_key_wrong', default='<NONE>')
    )
    self.assertEqual(
        '<NONE>',
        get_data_by_path(data, data_path='l1_instance.l2_key_wrong', default='<NONE>')
    )
    self.assertEqual(
        '<NONE>',
        get_data_by_path(data, data_path='l1_instance.l2_key.l3_key', default='<NONE>')
    )
    self.assertEqual(
        '',
        get_data_by_path(data, data_path='l1_key_wrong', default='')
    )
    self.assertEqual(
        '',
        get_data_by_path(data, data_path='l1_key.l2_key_wrong', default='')
    )
    self.assertEqual(
        '',
        get_data_by_path(data, data_path='l1_instance.l2_key_wrong', default='')
    )
    self.assertEqual(
        '',
        get_data_by_path(data, data_path='l1_instance.l2_key.l3_key', default='')
    )
    self.assertEqual(
        0,
        get_data_by_path(data, data_path='l1_key_wrong', default=0)
    )
    self.assertEqual(
        0,
        get_data_by_path(data, data_path='l1_key.l2_key_wrong', default=0)
    )
    self.assertEqual(
        0,
        get_data_by_path(data, data_path='l1_instance.l2_key_wrong', default=0)
    )
    self.assertEqual(
        0,
        get_data_by_path(data, data_path='l1_instance.l2_key.l3_key', default=0)
    )