[test] DynamicMethod isn't available on iOS.