Package org.mongojack
Class TestCustomObjectMapper
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestCustomObjectMapper
-
public class TestCustomObjectMapper extends MongoDBTestBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestCustomObjectMapper.Custom
static class
TestCustomObjectMapper.MockObject
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestCustomObjectMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customObjectMapperShouldWorkForUpdate()
void
customObjectMapperShouldWorkWhenDeserialising()
void
customObjectMapperShouldWorkWhenSerialising()
void
setUp()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection, startDb
-
-
-
-
Method Detail
-
setUp
@BeforeEach public void setUp()
-
customObjectMapperShouldWorkWhenSerialising
@Test public void customObjectMapperShouldWorkWhenSerialising()
-
customObjectMapperShouldWorkWhenDeserialising
@Test public void customObjectMapperShouldWorkWhenDeserialising()
-
customObjectMapperShouldWorkForUpdate
@Test public void customObjectMapperShouldWorkForUpdate()
-
-