Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private MyClass c;
- @Before
- public void setup() throws Exception {
- c = new MyClass();
- c.initialize();
- }
- @Test
- public void test() throws Exception {
- assertTrue(c.isA());
- }
- @After
- public void tearDown() throws Exception {
- c.finalize();
- }
Advertisement
Add Comment
Please, Sign In to add comment