title: Junit, Testing, Flyway: Can you combine @Before and @Flyway annotations?
body: <p>My code has a bunch of unit tests dealing with some DB that I would like to have reset before each test. I am using the @FlywayTest annotation to perform this reset.</p>
  
  <pre><code>@Test
  @FlywayTest
  public void unitTest1 {
  }
  
  @Test
  @FlywayTest
  public void unitTest2 {
  }
  
  @Test
  @FlywayTest
  public void unitTest3 {
  }
  </code></pre>
  
  <p>This works fine, but is there a way to do this without having to annotate each test with FlywayTest? I tried this but it doesn't work:</p>
  
  <pre><code>@Before 
  @FlywayTest
  public void setup() {
  }
  
  @Test
  public void unitTest1 {
  }
  
  @Test
  public void unitTest2 {
  }
  
  @Test
  public void unitTest3 {
  }
  </code></pre>