BAEL-5283: fix unit test failed

This commit is contained in:
515882294 2022-05-01 11:18:18 +08:00
parent 0947c71710
commit 47adb0759d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class LambdaSerializationUnitTest {
@Test
public void givenSerializableConsumer_whenNoCapturing_thenSerializationSuccess() throws IOException, ClassNotFoundException {
SerializableConsumer<String> obj = System.out::println;
SerializableConsumer<String> obj = message -> System.out.println(message);
writeAndReadObject(obj, SerializableConsumer.class);
}