|
Groovy example source code file (PropertyWithoutDotTest.groovy)
The Groovy PropertyWithoutDotTest.groovy source code
package groovy
class PropertyWithoutDotTest extends GroovyTestCase {
def getFoo() {
return "cheese"
}
void testProperty() {
def value = foo
assert value == "cheese"
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy PropertyWithoutDotTest.groovy source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.