Package projectplayground
Class PlaygroundRepositoryTest
java.lang.Object
projectplayground.PlaygroundRepositoryTest
@SpringBootTest
class PlaygroundRepositoryTest
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description private javax.sql.DataSource
dataSource
private javax.persistence.EntityManager
entityManager
private org.springframework.jdbc.core.JdbcTemplate
jdbcTemplate
private LocationRepository
locationRepository
private PlaygroundRepository
playgroundRepository
private UserRepository
userRepository
-
Constructor Summary
Constructors Constructor Description PlaygroundRepositoryTest()
-
Method Summary
Modifier and Type Method Description void
afterEach()
void
beforeEach()
(package private) void
injectedComponentsAreNotNull()
(package private) void
statusValueGutBesucht()
(package private) void
statusValueOffen()
(package private) void
statusValueUeberfuellt()
(package private) void
statusValueVoll()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
dataSource
@Autowired private javax.sql.DataSource dataSource -
jdbcTemplate
@Autowired private org.springframework.jdbc.core.JdbcTemplate jdbcTemplate -
entityManager
@Autowired private javax.persistence.EntityManager entityManager -
userRepository
-
playgroundRepository
-
locationRepository
-
-
Constructor Details
-
PlaygroundRepositoryTest
PlaygroundRepositoryTest()
-
-
Method Details
-
beforeEach
@BeforeEach public void beforeEach() -
afterEach
@AfterEach public void afterEach() -
injectedComponentsAreNotNull
@Test void injectedComponentsAreNotNull() -
statusValueVoll
@Test void statusValueVoll() -
statusValueUeberfuellt
@Test void statusValueUeberfuellt() -
statusValueOffen
@Test void statusValueOffen() -
statusValueGutBesucht
@Test void statusValueGutBesucht()
-