Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanaRadinsky committed Jun 16, 2022
1 parent 16e4dce commit a1b70a5
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ public void handles_classes() {
.doTest();
}

@Test
public void handles_classes_constructorFields() {
compilationHelper
.addSourceLines(
"Test.java",
"class Test {",
" private final String _field;",
" public Test(String value) {",
" this._field = value;",
" }",
"}")
.doTest();
}

@Test
public void handles_enums() {
compilationHelper
Expand Down

0 comments on commit a1b70a5

Please sign in to comment.