The enum
class with an instance method in Kotlin is quite similar to its Java version, but they look a bit different in the bytecode. Let's see the difference by writing some tests using Spock.
What Do We Want to Test?
Let's see the code that we want to test:
from DZone.com Feed https://ift.tt/2smHeHZ
No comments:
Post a Comment