How is it possible to test this class?
data class BreakdownEntry(val category: Category, val childList: List<BreakdownEntry>, val amount: Double, val currencyCode: String, var percent: String = "") If, for example, it was used as Serializable then I would take the given class as a basis and put some data for variables on it, and then check if the data that I recorded is correct.
here, when I try to create an object, I need to go along with all these parameters to the object at once, brr.