Guest User

Untitled

a guest
Oct 18th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public class CreateAccountPageTest {
  2.  
  3. @CreateMock
  4. private AccountService mockAccountService;
  5.  
  6. private IMocksControl control;
  7.  
  8. @InjectMock
  9. private BaseWicketTester tester;
  10.  
  11. @Before
  12. public void setUp() throws Exception {
  13. tester = new BaseWicketTester();
  14. control = EasyMockUtils2.setup(this);
  15.  
  16. tester.startPage(new ITestPageSource() {
  17. public Page getTestPage() {
  18. return new CreateAccountPage();
  19. }
  20. });
  21. }
  22.  
  23. }
Add Comment
Please, Sign In to add comment