chooseIdentity

fun <Error class: unknown class>.chooseIdentity(): <Error class: unknown class>

Returns the party identity of the first identity on the node. Until we have proper handling of multiple identities per node, for tests we use the first identity as special one. TODO: Should be removed after multiple identities are introduced.