We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f85a2 commit 1e510eeCopy full SHA for 1e510ee
src/test/java/org/soujava/demos/mongodb/document/RoomServiceTest.java
@@ -165,7 +165,7 @@ void shouldFindAvailableSmokingRooms() {
165
List<Room> rooms = this.repository.findAvailableSmokingRooms();
166
SoftAssertions.assertSoftly(softly -> {
167
softly.assertThat(rooms).hasSize(2);
168
- softly.assertThat(rooms).allMatch(room -> room.isSmokingAllowed());
+ softly.assertThat(rooms).allMatch(Room::isSmokingAllowed);
169
softly.assertThat(rooms).allMatch(room -> room.getStatus().equals(RoomStatus.AVAILABLE));
170
});
171
}
0 commit comments