def test_get_map_by_app_id_and_name_wrong_name():
    index = Index()
    index.parse(build_map())
    assert index.get_map('BankApp', 'Wrong') == dict()
def test_get_map_by_app_id_wrong():
    index = Index()
    index.parse(build_map())
    assert index.get_map('Wrong') == dict()
def test_get_map_by_app_id_and_name():
    index = Index()
    index.parse(build_map())
    assert index.get_map('BankApp', 'Conta') != None
def test_get_map_by_app_id():
    index = Index()
    index.parse(build_map())
    assert index.get_map('BankApp') != None