 
         it("outputs the formatted request data") {
             let pluginWithRequestDataFormatter: NetworkLoggerPlugin = {
-                let plgn = NetworkLoggerPlugin()
-                plgn.configuration.output = customLoggerOutput
-                plgn.configuration.logOptions = .verbose
-                plgn.configuration.formatter.requestData = { _ in return "formatted request body" }
-                return plgn
+                let plugin = NetworkLoggerPlugin()
+                plugin.configuration.output = customLoggerOutput
+                plugin.configuration.logOptions = .verbose
+                plugin.configuration.formatter.requestData = { _ in return "formatted request body" }
+                return plugin
             }()
 
             pluginWithRequestDataFormatter.willSend(TestBodyRequest(), target: GitHub.zen)


        it("outputs cURL representation of request") {
            let pluginWithCurl: NetworkLoggerPlugin = {
                let plgn = NetworkLoggerPlugin()
                plgn.configuration.output = customLoggerOutput
                plgn.configuration.logOptions = [.formatRequestAscURL]
                return plgn
            }()

            pluginWithCurl.willSend(TestCurlBodyRequest(), target: GitHub.zen)


        it("outputs the customized entries") {
            let pluginWithEntryFormatter: NetworkLoggerPlugin = {
                let plugin = NetworkLoggerPlugin()
                plugin.configuration.output = customLoggerOutput
                plugin.configuration.formatter.entry = { _, _, _ in return "formatted log entry" }
                return plugin
            }()

            pluginWithEntryFormatter.willSend(TestBodyRequest(), target: GitHub.zen)
