+1 vote
139 views
in Best Practices by

1 Answer

+2 votes
by
selected by
 
Best answer
Data Constructor Services are meant to be used as place holders for actual integration services supplying the data eventually, they initially populate hard coded data to the Business Objects for playback and demo purposes and quick prototyping, without any changes to upper level services the actual data integrations can happen at later stages.

Also it is not a recommended practice to have default values for your business objects, thus for unit testing you can use the plugged in data constructor service to provide the test data also.

Related questions

0 votes
1 answer 72 views
+1 vote
1 answer 260 views
0 votes
1 answer 135 views
+1 vote
0 answers 30 views
0 votes
1 answer 442 views
0 votes
1 answer 31 views
0 votes
0 answers 90 views
0 votes
1 answer 86 views
0 votes
1 answer 269 views
+1 vote
1 answer 340 views
+1 vote
1 answer 1k views
0 votes
1 answer 452 views
...