- assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "foo")))).containsExactly(a);
- assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "bar")))).containsExactly(b, c);
- assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "foobar")))).isEmpty();
+ assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "foo")))).emitsExactly(a);
+ assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "bar")))).emitsExactly(b, c);
+ assertThat(repository.findAll(Example.of(new ChatRoomTo(null, "foobar")))).emitsExactly();