models.autoRealization.Tests.Zen4007.Zen4007.Zen4007.md Maven / Gradle / Ivy
# ZEN-4007 test
## Description
See [Jira issue](https://modelsolv.atlassian.net/browse/ZEN-4007) for motivation and descriptions
## Tests
### Zen4007
- Description
-
See [Jira issue](https://modelsolv.atlassian.net/browse/ZEN-4007)
- RAPID Model
- Zen4007_Zen4007.rapid
- Assertions
-
``` Zen4007
val cfscResource = model.tbApi.resource("CashFlowStatementComments")
model.tbFinancialStatementObject.check [
named("FinancialStatement_Root").selects("ObjectResourceRoot")
withNoLinks
withNoProps
].thenCheck(model.tbCommentCollection) [
bookmark("commColl")
named("Comment_Root").selects("CollectionResourceRoot")
withNoLinks
withOnlyProps("commentID")
].thenCheck(model.tbApi.resource("BalanceSheetComments")) [
shares("commColl")
].thenCheck(model.tbApi.resource("IncomeStatementComments")) [
shares("commColl")
].thenCheck(cfscResource) [
shares("commColl")
].thenCheck(cfscResource.get_Method.normalResponse) [
shares("commColl")
].thenCheck(cfscResource.get_Method.response(400)) [
bookmark("err")
named("ErrorResponse_Root").selects("CollectionResourceRoot")
withNoLinks.withOnlyProps("errorCode")
].thenCheck(cfscResource.method(POST).response(201)) [
shares("commColl")
].thenCheck(cfscResource.method(POST).response(400)) [
shares("err")
]
```
© 2015 - 2025 Weber Informatics LLC | Privacy Policy