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

    func testDataWithRootItem_withCerealTypeToCerealTypeDictionary_returnsCorrectData() {
        do {
            let object = [TestCerealType(foo: "baz"): TestCerealType(foo: "bar")]
            let subject = try CerealEncoder.dataWithRootItem(object)
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let expected = encoder.toData()

    func testDataWithRootItem_withArrayOfPrimitiveToPrimitiveDictionary_returnsCorrectData() {
        do {
            let object = [["Foo": 1], ["Bar": 2]]
            let subject = try CerealEncoder.data(withRoot: object)
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let expected = encoder.toData()
