Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

framework for integration testing in java: fit: how to handle nested objects using fixtures

 
narendra mallavarapu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using FIT for integration tests. I know how to use Column Fixture, Row Fixture and Action Fixture basically. Now my problem is, if i have nested objects like Customer object is holding Address object with some fields, how can i parse such kind of objects.

example:



Now, i want to check using Action Fixture get Customer() method that returns customer object. Now in the parse(String s, Type) where s is string format of customer object coming from input file, how can i convert it into Customer object.
Is my approach proper? Please help me if you know it. i have some urgent req. to complete such kind of task.

Thank in advance.
Narendra.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49789
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
You should use the code button; I have been back to your post and you can see how much better it looks
You have arrived in the wrong forum; I shall try moving you and hope I put the discussion somewhere better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic