             }
             
             it("should pass metadata to the builder") {
-                var value: FakeMeta? = nil
+                var value: ComponentMeta? = nil
                 _ = Component.view(builder: { (meta) in
-                    value = meta as? FakeMeta
+                    value = meta
                     return UIViewController()
-                }, meta: FakeMeta("meta")).viewController()
+                }, meta: ["foo": "bar"]).viewController()
                 
-                expect(value) == FakeMeta("meta")
+                expect(value as? DictMeta) == ["foo": "bar"]
             }
             
             it("should have the correct metadata") {
                 let component = Component.view(builder: { _ in UIViewController() },
-                                               meta: FakeMeta("meta"))
+                                               meta: ["foo": "bar"])
                 
-                expect(component.meta as? FakeMeta) == FakeMeta("meta")
+                expect(component.meta as? DictMeta) == ["foo": "bar"]
             }
         }
         

            }
            
            it("should pass metadata to the builder") {
                var value: FakeMeta? = nil
                let builder: Component.WrapperBuilder = { (_, meta) in
                    value = meta as? FakeMeta
                    return UIViewController()
                }
                
                _ =  Component.wrapper(builder: builder,
                                       child: randComponent(),
                                       meta: FakeMeta("meta")).viewController()
                
                expect(value) == FakeMeta("meta")
            }
            
            it("should have the correct metadata") {
                let component =  Component.wrapper(builder: { _ in UIViewController() },
                                       child: randComponent(),
                                       meta: FakeMeta("meta"))
                
                expect(component.meta as? FakeMeta) == FakeMeta("meta")
            }
        }
        

private func randComponent() -> Component {
    return  Component.view(builder: { _ in UIViewController() }, meta: nil)
}
