Class TestJacksonMongoCollection
java.lang.Object
org.mongojack.MongoDBTestBase
org.mongojack.TestJacksonMongoCollection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTestJacksonMongoCollection.ClassWithGenericField<T extends org.mongojack.TestJacksonMongoCollection.GenericFieldValue>static classstatic class -
Field Summary
Fields inherited from class MongoDBTestBase
db, mongo, uuidRepresentation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection, startDb
-
Constructor Details
-
TestJacksonMongoCollection
public TestJacksonMongoCollection()
-
-
Method Details
-
setup
@BeforeEach public void setup() -
testQuery
@Test public void testQuery() -
testInsertAndQuery
@Test public void testInsertAndQuery() -
testInsertAndQueryWithPolymorphicField
@Test public void testInsertAndQueryWithPolymorphicField() -
testSaveAndQuery
@Test public void testSaveAndQuery() -
testRemove
@Test public void testRemove() -
testRemoveById
@Test public void testRemoveById() -
testFindAndModifyWithBuilder
@Test public void testFindAndModifyWithBuilder() -
testReplaceOneByNonIdQuery
@Test public void testReplaceOneByNonIdQuery() -
testReplaceOneByUsesQueryNotId
@Test public void testReplaceOneByUsesQueryNotId() -
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue
@Test public void testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue() -
testReplaceOneDoesNotUpsertIfUpsertFalse
@Test public void testReplaceOneDoesNotUpsertIfUpsertFalse() -
testReplaceOneByIdUsesIdProvided
@Test public void testReplaceOneByIdUsesIdProvided() -
testQueryWithLimitedKeys
@Test public void testQueryWithLimitedKeys()
-