Fix checkstyle violation

This commit is contained in:
Phillip Webb 2019-06-17 14:45:17 -07:00
parent 69fbd8f20c
commit f4d9e1c650
1 changed files with 2 additions and 2 deletions

View File

@ -197,12 +197,12 @@ class PropertyMapperTests {
}
@Test
public void whenWhenValueNotMatchesShouldSupportChainedCalls() {
void whenWhenValueNotMatchesShouldSupportChainedCalls() {
this.map.from("123").when("456"::equals).when("123"::equals).toCall(Assertions::fail);
}
@Test
public void whenWhenValueMatchesShouldSupportChainedCalls() {
void whenWhenValueMatchesShouldSupportChainedCalls() {
String result = this.map.from("123").when((s) -> s.contains("2")).when("123"::equals).toInstance(String::new);
assertThat(result).isEqualTo("123");
}