* Domain object setup follows exactly the same pattern as with checking
* Progammers: a factory method is required for setting up the embedded ''phone'' list
!**< def
!define account (|''id''|456778|
|''payment history''|poor|
)
!define phones (|''country''|''region''|''number''|
|64|9|7375000|
|64|27|4222112|
)
!define user (|''name''|Bad Payer|
|''owe''|30000.00|
|''phones''|${phones}|
|''account''|${account}|
)
!define test (!|fitlibrary.specify.domain.UserAdapter|
|''user''|${user}|
|''checks''|
|''user''|${user}|
)
**!
|!-fitlibrary.spec.SpecifyFixture-!|
|${test}|!-
fitlibrary.specify.domain.UserAdapter |
user |
name |
Bad Payer |
owe |
30000.00 |
phones |
country |
region |
number |
64 |
9 |
7375000 |
64 |
27 |
4222112 |
|
account |
id |
456778 |
payment history |
poor |
|
|
user |
name |
Bad Payer |
owe |
30000.00 |
phones |
country |
region |
number |
64 |
9 |
7375000 |
64 |
27 |
4222112 |
|
account |
id |
456778 |
payment history |
poor |
|
|
-!|