The same test with transform().method()
Reusing the pojo to set header with method()