def METHOD_NAME(self):
    def _test(moniker, expected_container=None, expected_blob=None, expected_snapshot=None):
        i = StorageResourceIdentifier(self.cli.cloud, moniker)
        if expected_container is not None:
            assert i.container == expected_container
            assert i.share is None
            assert i.directory is None
            assert i.filename is None
        else:
            assert i.container is None
        assert i.blob == expected_blob
        assert i.snapshot == expected_snapshot
    _test('sample')
    _test('https://momba.file.core.windows.net/snake')
    _test('http://momba.else.core.windows.net/snake')
    _test('http://momba.blob.core.windows.net/snake', 'snake')
    _test('https://momba.blob.core.windows.net/snake', 'snake')
    _test('https://momba.blob.core.windows.net/snake/blob', 'snake', 'blob')
    _test('https://momba.blob.core.windows.net/snake/blob/blob2', 'snake', 'blob/blob2')
    _test('https://momba.blob.core.windows.net/snake/blob?some=thing', 'snake', 'blob')