<How to write Kotlin unit test to test a function ...
# stackoverflow
u
How to write Kotlin unit test to test a function internally calling other functions I'm new Kotlin and facing issue while writing Kotlin Junit test, unable to go inside if condition! override fun process(message: String) { try { logger.info("(invFileTransformer) Process inventory processor evaluation started...") val sqsPayloadInfo = UtilityFunctions.sqsQPayloadExtractor(message) val inventoryInfo = UtilityFunctions.extractInventoryType(sqsPayloadInfo[0]) if (!inventoryInfo.isNullOrEmpty()) {...