I am using
- Maven/Gradle plugin v6.11.0
- rewrite-testing-frameworks v3.10.0
How are you running OpenRewrite?
Classic maven call
What is the smallest, simplest way to reproduce the problem?
I have the following test:
@Test(expected = SomeException.class)
public void testSomething() throws Exception { }
It gets transformed to
@Test
void execute_db_down() {}
The throws is removed which causes a compilation error.
I am using
How are you running OpenRewrite?
Classic maven call
What is the smallest, simplest way to reproduce the problem?
I have the following test:
It gets transformed to
The
throwsis removed which causes a compilation error.