 
     // MARK: - Types
 
-    private struct WKRAlertMessage {
+    private struct WKRAlertMessage: Equatable {
         let text: String
         let duration: Double
+
+        //swiftlint:disable:next operator_whitespace
+        static func ==(lhs: WKRAlertMessage, rhs: WKRAlertMessage) -> Bool {
+            return lhs.text == rhs.text
+        }
     }
 
     // MARK: - Properties


    public func enqueue(text: String, duration: Double = 5.0) {
        let message = WKRAlertMessage(text: text, duration: duration)
        queue.append(message)
        present()
    }

    // MARK: - State

        UIView.animate(withDuration: WKRUIConstants.alertAnimateOutDuration, animations: {
            self.alertWindow.layoutIfNeeded()
        }, completion: { _ in
            self.label.text = nil
            self.present()
        })
    }
