Replace this lambda with a method reference

See gh-15401
This commit is contained in:
igor-suhorukov
2018-12-07 00:52:04 +03:00
committed by Stephane Nicoll
parent 71173f2db5
commit 5c1813aef8
13 changed files with 21 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ public class RemoteUrlPropertyExtractorTests {
@Test
public void missingUrl() {
assertThatIllegalStateException().isThrownBy(() -> doTest())
assertThatIllegalStateException().isThrownBy(this::doTest)
.withMessageContaining("No remote URL specified");
}