如何嘲笑:
Long countryId = RequestContextHolder.currentRequestAttributes()?.session.country_id?.toLong(); Country country = Country.get(countryId)
在STS中使用Groovy 和 Grails 框架进行 junit 测试?
grails groovy junit
grails ×1
groovy ×1
junit ×1