|
Groovy example source code file (Constructor2Test.groovy)
The Groovy Constructor2Test.groovy source code
package groovy
class Constructor2Test extends GroovyTestCase {
Constructor2Test() {
println "Hey"
}
void testConstructor() {
def foo = new Constructor2Test()
assert foo != null
println foo
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy Constructor2Test.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.