Skip to content

Instantly share code, notes, and snippets.

@sourcerebels
Created June 7, 2011 06:58
Show Gist options
  • Save sourcerebels/1011796 to your computer and use it in GitHub Desktop.
Save sourcerebels/1011796 to your computer and use it in GitHub Desktop.
package com.sourcerebels.tinspect
class HashTag {
String name
public String getName() {
println "getName"
return name
}
}
class HashTagTests extends GroovyTestCase {
public void testShouldHaveAName() {
def hashTag = new HashTag()
hashTag.name = "tag"
assertEquals "tag", hashTag.name
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment