Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CreateAccountPageTest {
- @CreateMock
- private AccountService mockAccountService;
- private IMocksControl control;
- @InjectMock
- private BaseWicketTester tester;
- @Before
- public void setUp() throws Exception {
- tester = new BaseWicketTester();
- control = EasyMockUtils2.setup(this);
- tester.startPage(new ITestPageSource() {
- public Page getTestPage() {
- return new CreateAccountPage();
- }
- });
- }
- }
Add Comment
Please, Sign In to add comment