/MockUser.groovy
Groovy | 13 lines | 10 code | 2 blank | 1 comment | 0 complexity | 492ab78ebe1b8106c181e898bcddd1a7 MD5 | raw file
- import com.atlassian.crowd.embedded.api.User
- class MockUser implements User {
- String displayName
- //Junk not needed for the tests but needed to satisfy the interface
- boolean isActive(){}
- int compareTo(com.atlassian.crowd.embedded.api.User u){}
- int compareTo(java.lang.Object o){}
- java.lang.String getEmailAddress(){}
- java.lang.String getName(){}
- long getDirectoryId(){}
- }