code snippets
all code snippets
/
popular code snippets
/
your code snippets
extras
blog
about snipplr
Change style:
Big
/
Small
New Snippet
/
Register
/
Login
advanced code snippet search
login /
Register
Username:
password:
Login with
Facebook
del.icio.us
del.icio.us/popular/groovy
easygsp - Project Hosting on Google Code
Share Snipplr
Tools
Textmate Bundle
WordPress Plugin
Snippets
More tools ...
Popular Tags
18n
Bash
Decorator
Euler
JSR-311
MOP
String
access
acegi
ant
beans
bigdecimal
bootstrap
bug
classloader
closureexample
closures
commandline
console
consontant
copy
csv
database
date
design
dom4j
else-if
exoplatform
expressions
factorial
file
files
flickr
for
format
formatting
functional
grails
groovy
groovybeans
groovyseries
gstring
ident
idiomatic
input
install
integer
jackson
jar
java
junit
language
listener
lists
maven
metaclass
months
montyhall
mysql
number
pattern
plugin
process
programming
project
ranges
readline
regex
regular
rhino
script
securityconfig
server
simple
snipplr
sort
spring
springmvc
stats
strings
style
sum
svn
tag
tags
target
test
this
trim
true
twitter
usage
vim
webapp
xml
xml-rpc
zip
2
Everyone's Recent Groovy Snippets Tagged 'testing'
All
/
JavaScript
/
HTML
/
PHP
/
CSS
/
Ruby
/
Objective C
« Prev [Page 1 of 1] Next »
Half-Mock
Groovy
testing
mock
posted on February 25, 2008 by
roock
« Prev [Page 1 of 1] Next »
Choose a language for easy browsing:
ActionScript
ActionScript 3
Apache
AppleScript
ASP
Assembler
AutoIt
Awk
Bash
C
C#
C++
Clojure
ColdFusion
CSS
Delphi
Diff
Django
DOS Batch
Emacs Lisp
eZ Publish
Forth
Fortran
Gnuplot
Groovy
HAML
Haskell
HTML
iPhone
Java
JavaScript
jQuery
LaTeX
lighttpd
Lisp
Lua
Makefile
MatLab
Maxscript
Mel
MXML
MySQL
NewtonScript
Objective C
Open Firmware
Other
Pascal
Perl
PHP
PicBasic
PL/SQL
Processing
Prolog
Pseudocode
Python
R
Rails
Regular Expression
Revolution
Ruby
SAS
SASS
Scala
Scheme
SmallTalk
Smarty
SML
SPSS
SQL
SVN
Symfony
TCL
Textpattern
TYPO3
VB.NET
VHDL
Visual Basic
W-Language
Windows PowerShell
Windows Registry
XHTML
XML
XSLT