Skip to content

Commit c27ddbf

Browse files
committed
Updates method name
1 parent 2099321 commit c27ddbf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mongodb-driver/src/test/java/org/eclipse/jnosql/communication/mongodb/document/MongoDBDocumentCollectionManagerTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -449,15 +449,15 @@ public void shouldCreateDate() {
449449
}
450450

451451
@Test
452-
public void shouldConvertFromListSubdocumentList() {
453-
DocumentEntity entity = createSubdocumentList();
452+
public void shouldConvertFromListDocumentList() {
453+
DocumentEntity entity = createDocumentList();
454454
entityManager.insert(entity);
455455

456456
}
457457

458458
@Test
459-
public void shouldRetrieveListSubdocumentList() {
460-
DocumentEntity entity = entityManager.insert(createSubdocumentList());
459+
public void shouldRetrieveListDocumentList() {
460+
DocumentEntity entity = entityManager.insert(createDocumentList());
461461
Document key = entity.find("_id").get();
462462
DocumentQuery query = select().from("AppointmentBook")
463463
.where(key.getName())
@@ -513,7 +513,7 @@ public void shouldSaveMap() {
513513
Assertions.assertNotNull(map);
514514
}
515515

516-
private DocumentEntity createSubdocumentList() {
516+
private DocumentEntity createDocumentList() {
517517
DocumentEntity entity = DocumentEntity.of("AppointmentBook");
518518
entity.add(Document.of("_id", new Random().nextInt()));
519519
List<List<Document>> documents = new ArrayList<>();

0 commit comments

Comments
 (0)