alexp11223
01/05/2017, 8:34 AMoverride val
).
Everything is fine, but in some tests I don't care about this property and want to assign some default value, so I use MyClass(data, ..., defaultValue())
when creating class instances.
Is there any way to do it without adding , defaultValue()
each time, except adding = defaultValue()
to constructor of all classes?