bmcglau

About

Username
bmcglau
Joined
Visits
12
Last Active
Roles
Members, Staff
Points
24
Posts
5
Badges
4
  • Re: Jtest code in eclipse

    Depending on which action you used to create the test with Unit Test Assistant, objects like EJBs may not be instantiated by default. This gives you the opportunity, when building tests, to decide whether you want a real object or a mock in the test.

    If you select the local variable in the code editor, you can either instantiate it (using a constructor or factory method) or mock the object (using Mockito) using an action in the Unit Test Assistant view.