Consider the following:
class Tests {
@Test
void testSomething() {
...
}
}
Double-clicking in the left vertical ruler on the line the line containing testSomething results in a breakpoint for the first statement of the method body. This is due to the presence of the @Test annotation on a different line. Placing it on the same line and a method breakpoint is added as expected.
Consider the following:
Double-clicking in the left vertical ruler on the line the line containing
testSomethingresults in a breakpoint for the first statement of the method body. This is due to the presence of the@Testannotation on a different line. Placing it on the same line and a method breakpoint is added as expected.