Package org.powertac.visualizer.web.rest
Class UserResourceIntTest
- java.lang.Object
-
- org.powertac.visualizer.web.rest.UserResourceIntTest
-
@ExtendWith(org.springframework.test.context.junit.jupiter.SpringExtension.class) @SpringBootTest(classes=org.powertac.visualizer.Visualizer2App.class) public class UserResourceIntTest extends Object
Test class for the UserResource REST controller.- See Also:
UserResource
-
-
Constructor Summary
Constructors Constructor Description UserResourceIntTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.powertac.visualizer.domain.User
createEntity(javax.persistence.EntityManager em)
Create a User.void
equalsVerifier()
void
setup()
void
testGetExistingUser()
void
testGetUnknownUser()
-
-
-
Method Detail
-
createEntity
public static org.powertac.visualizer.domain.User createEntity(javax.persistence.EntityManager em)
Create a User. This is a static method, as tests for other entities might also need it, if they test an entity which has a required relationship to the User entity.
-
setup
@BeforeEach public void setup()
-
-