Package org.mongojack

Class TestDBRefHandling

    • Constructor Detail

      • TestDBRefHandling

        public TestDBRefHandling()
    • Method Detail

      • setUp

        @BeforeEach
        public void setUp()
      • simpleDbRefShouldBeSavedAsDbRef

        @Test
        public void simpleDbRefShouldBeSavedAsDbRef()
      • dbRefWithObjectIdShouldBeSavedAsDbRef

        @Test
        public void dbRefWithObjectIdShouldBeSavedAsDbRef()
      • testUsingMongoCollectionAnnotation

        @Test
        public void testUsingMongoCollectionAnnotation()
      • testUpdatesWithDbRef

        @Test
        public void testUpdatesWithDbRef()
      • collectionOfDbRefsShouldBeSavedAsDbRefs

        @Test
        public void collectionOfDbRefsShouldBeSavedAsDbRefs()
      • fetchCollectionOfDBRefsShouldReturnRightResults

        @Test
        public void fetchCollectionOfDBRefsShouldReturnRightResults()
      • collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs

        @Test
        public void collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs()