protected WicketTester tester;
@Before
public void setup() {
ApplicationContextMock appctx = new
ApplicationContextMock();
appctx.putBean("pasteDao", dao);
appctx.putBean("pasteService", svc);
// if we inject spring here, its more of an integration test, and that is not fun
// tester = new WicketTester(new MysticPasteApplication());
tester = new WicketTester();
WebApplication app = tester.getApplication();