 
         let result = RoomRolesResource(raw: json)
         XCTAssertTrue(result.success)
-        XCTAssertEqual(result.subscriptionRoles?.count, 1)
-        XCTAssertEqual(result.subscriptionRoles?.first?.roles.count, 3)
-        XCTAssertNotNil(result.subscriptionRoles?.first?.user)
-        XCTAssertNil(result.subscriptionRoles?.first?.user?.identifier)
+        XCTAssertEqual(result.roomRoles?.count, 1)
+        XCTAssertEqual(result.roomRoles?.first?.roles.count, 3)
+        XCTAssertNotNil(result.roomRoles?.first?.user)
+        XCTAssertNil(result.roomRoles?.first?.user?.identifier)
     }
 
     func testInvalidUserObject() {


        let result = RoomRolesResource(raw: json)
        XCTAssertTrue(result.success)
        XCTAssertEqual(result.subscriptionRoles?.count, 1)
        XCTAssertEqual(result.subscriptionRoles?.first?.roles.count, 0)
        XCTAssertEqual(result.subscriptionRoles?.first?.user?.username, "john.appleseed")
    }

    func testEmptyResults() {
        let nilResult = RoomRolesResource(raw: nil)
        XCTAssertNil(nilResult.subscriptionRoles)
    }

}


        let result = RoomRolesResource(raw: json)
        XCTAssertTrue(result.success)
        XCTAssertEqual(result.roomRoles?.count, 1)
        XCTAssertEqual(result.roomRoles?.first?.roles.count, 3)
        XCTAssertNotNil(result.roomRoles?.first?.user)
        XCTAssertNil(result.roomRoles?.first?.user?.identifier)
    }

    func testArrayUserObject() {
