Просмотр исходного кода

Add note to largest-series-product tests about JUnit Rules

Stuart Kent 9 лет назад
Родитель
Сommit
1cbfd2f64a

+ 4
- 0
exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java Просмотреть файл

@@ -7,6 +7,10 @@ import static org.junit.Assert.assertEquals;
7 7
 
8 8
 public final class LargestSeriesProductCalculatorTest {
9 9
 
10
+    /*
11
+     * See https://github.com/junit-team/junit4/wiki/Rules for information on JUnit Rules in general and
12
+     * ExpectedExceptions in particular.
13
+     */
10 14
     @Rule
11 15
     public ExpectedException expectedException = ExpectedException.none();
12 16