def METHOD_NAME(photosdb):
    albums = photosdb.album_info
    assert len(albums) == 4
    # check names
    album_names = [a.title for a in albums]
    assert sorted(album_names) == sorted(ALBUM_NAMES)