     func testGcmJsonFormatWithValues() {
         let gcmJson = gcmExample.jsonFormat
         let expectedJson = gcmExampleJson
-        XCTAssertEqual(gcmJson, expectedJson)
-		XCTAssertNotNil(try? gcmJson?.rawData() as Any)
+        
+        let delayWhileIdle:String = gcmJson?["delayWhileIdle"] as! String
+        let expectedDelayWhileIdle:String = expectedJson["delayWhileIdle"] as! String
+
+        XCTAssertEqual(delayWhileIdle , expectedDelayWhileIdle)
     }
 
     // MARK: With Nil

    func testMessageJsonFormatWithValues() {
        let messageJson = messageExample.jsonFormat
        let expectedJson = messageExampleJson
        XCTAssertEqual(messageJson, expectedJson)
		XCTAssertNotNil(try? messageJson?.rawData() as Any)
    }


    func testTargetJsonFormatWithValues() {
        let targetJson = targetExample.jsonFormat
        let expectedJson = targetExampleJson
        XCTAssertEqual(targetJson, expectedJson)
		XCTAssertNotNil(try? targetJson?.rawData() as Any)
    }




import XCTest
import SimpleHttpClient
@testable import IBMPushNotifications


