Grails

provide instanceOf dynamic method in unit tests

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2.1
  • Component/s: Testing
  • Labels:
    None

Description

The instanceOf() dynamic method is not injected on domain classes in unit tests. It would be useful to have this (when using mockDomain), especially since the Hibernate proxy hell requires using instanceOf() more often.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: