morozov
10/04/2017, 9:07 AMauthTypeData.requiredFields = listOf(
AuthFieldData().apply {
code = "code"
displayName = "display_name"
type = "type"
optional = false
},
AuthFieldData().apply {
code = "code"
displayName = "display_name"
type = "type"
optional = true
}
)
And for example i check the size of this list like this:
assertThat(authTypeData.requiredFields!!.size, equalTo(2))
But how i can check the content of this field?beholder
10/04/2017, 10:19 AMbeholder
10/04/2017, 10:19 AMauthTypeData.requiredFields[0].code
for example