val map = mapOf<Int, User>( 1 to User("Flore", "P"), 2 to User("Nappy", "Sean"), 3 to User("Ndole", "Paul"), ) val str = map.entries.joinToString( prefix = "[", separator = ", ", postfix = "]", limit = 2, truncated = "..." ) assertEquals( "[1=User(firstNam...