Class DBControllerSpec

All Implemented Interfaces:

public class DBControllerSpec extends ControllerSpec
Super class for controllers requiring a DB connection to the test DB. Connection is opened before a test, closed after a test and a transaction is rolled back.
Igor Polevoy
  • Constructor Details

    • DBControllerSpec

      public DBControllerSpec()
  • Method Details

    • initDBConfig

      @BeforeAll public static void initDBConfig()
    • open

      @BeforeEach public final void open()
    • close

      @AfterEach public final void close()
    • tearDown

      @AfterAll public static void tearDown()