fabricio
02/21/2018, 2:05 PM@ClassRule
i n kotlin?
@ClassRule
public static Neo4jRule neo4j = new Neo4jRule();
I tried
@ClassRule
var neo4j = Neo4jRule()
but it says The @ClassRule 'neo4j' must be public
aidanvii
02/22/2018, 10:29 AM@get:ClassRule
, this will annotate the property getter as opposed to the underlying private field.aidanvii
02/22/2018, 10:30 AMaidanvii
02/22/2018, 10:30 AM@JvmField
@ClassRule
vs:
@get:ClassRule