def METHOD_NAME(connection: MagicMock) -> FireboltS3Writer:
    # Make sure S3FileSystem mock is reset each time
    with patch("destination_firebolt.writer.fs.S3FileSystem", MagicMock()):
        return FireboltS3Writer(connection, "dummy_bucket", "access_key", "secret_key", "us-east-1")