Class DefaultModelEntityServiceUnitTest


  • @UnitTest
    public class DefaultModelEntityServiceUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultModelEntityServiceUnitTest

        public DefaultModelEntityServiceUnitTest()
    • Method Detail

      • setUp

        public void setUp()
      • insertEntry_Success

        public void insertEntry_Success()
                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • updateEntry_Success

        public void updateEntry_Success()
                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testCreateIsNeverCalledWhenValidatorThrowsException

        public void testCreateIsNeverCalledWhenValidatorThrowsException()
                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testLookupIsNeverCalledWhenValidatorThrowsException

        public void testLookupIsNeverCalledWhenValidatorThrowsException()
                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testPopulateIsNeverCalledWhenValidatorThrowsException

        public void testPopulateIsNeverCalledWhenValidatorThrowsException()
                                                                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testAddIntegrationKeyToODataEntry

        public void testAddIntegrationKeyToODataEntry()
      • testItemFoundInStorageRequestContextTakesPrecedenceOverExistingItem

        public void testItemFoundInStorageRequestContextTakesPrecedenceOverExistingItem()
                                                                                 throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testLookupItemsFoundItems

        public void testLookupItemsFoundItems()
                                       throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • testLookupItemsNotFoundItems

        public void testLookupItemsNotFoundItems()
                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getCount

        public void getCount()
                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException