I have some test i set some object like this: ``` ...
# random
m
I have some test i set some object like this:
Copy code
authTypeData.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:
Copy code
assertThat(authTypeData.requiredFields!!.size, equalTo(2))
But how i can check the content of this field?
2
b
What exactly is "this field"?
authTypeData.requiredFields[0].code
for example