View Javadoc
1   /*
2    * MIT License
3    * Copyright (c) 2006-2025 JMockit developers
4    * See LICENSE file for full license text.
5    */
6   package integration.tests;
7   
8   import static org.junit.jupiter.api.Assertions.assertFalse;
9   import static org.junit.jupiter.api.Assertions.assertTrue;
10  
11  import org.junit.jupiter.api.Test;
12  
13  class ClassInRegularPackageTest {
14      @Test
15      void firstTest() {
16          ClassInRegularPackage.NestedEnum value = ClassInRegularPackage.NestedEnum.FIRST;
17          ClassInRegularPackage obj = new ClassInRegularPackage();
18          assertTrue(obj.doSomething(value));
19      }
20  
21      @Test
22      void secondTest() {
23          assertFalse(new ClassInRegularPackage().doSomething(ClassInRegularPackage.NestedEnum.SECOND));
24      }
25  }