def METHOD_NAME(set_configdir):
    """Compares internal actor representation to what was saved in the file."""
    cfg = config("good_config.yaml")
    cfg.createConfig()
    cfg.saveActors()
    with open("good_config_actors.yaml") as savedConfig:
        data = yaml.safe_load(savedConfig)
    savedKeys = len(data.keys())
    originalKeys = len(cfg.actors.keys())
    assert savedKeys == originalKeys