def METHOD_NAME(self):
    config = pretend.stub(
        action=pretend.call_recorder(lambda t, f: f()),
        registry=pretend.stub(settings={}),
    )
    path = pretend.stub()
    prefix = pretend.stub()
    static.whitenoise_add_files(config, path, prefix)
    assert config.registry.settings["whitenoise.files"] == [
        (path, {"prefix": prefix})
    ]
    assert len(config.action.calls) == 1