 
     func testDataWithRootItem_withPrimitiveArray_returnsCorrectData() {
         do {
-            let subject = try CerealEncoder.dataWithRootItem(["foo", "bar"])
+            let subject = try CerealEncoder.data(withRoot: ["foo", "bar"])
             var encoder = CerealEncoder()
             try encoder.encode(["foo", "bar"], forKey: rootKey)
             let expected = encoder.toData()

    func testDataWithRootItem_withPrimitiveToPrimitiveArrayDictionary_returnsCorrectData() {
        do {
            let object = ["hai": [1, 2]]
            let subject = try CerealEncoder.dataWithRootItem(object)
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let expected = encoder.toData()

    func testDataWithRootItem_withPrimitiveToCerealTypeDictionary_returnsCorrectData() {
        do {
            let object = ["foo?": TestCerealType(foo: "bar")]
            let subject = try CerealEncoder.data(withRoot: object)
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let expected = encoder.toData()
