@IntegrationTest public class ODataReadEntityIntegrationTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
ODataReadEntityIntegrationTest() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetEntity_shouldReturnProduct_whenExists()
public void testGetEntity_withNavigationSegment_shouldReturnCatalogVersion_whenExists()
public void testGetEntity_withNavigationSegment_shouldReturnError_whenPropertyDoesNotExist()
public void testGetEntity_shouldReturnCategory_whenExists()
public void testGetEntity_shouldReturnTrigger_whenExistsAndHasOnlyNavigationPropertyKey()
public void testGetEntity_shouldReturnProduct_WhenHasTwoNavigationPropertyKey()
public void testGetEntity_shouldReturnInvalidKey()
public void testGetEntity_shouldReturnInvalidKey_whenKeyMalformed()
public void testGetEntity_shouldReturnInvalidKey_whenKeyEmpty()
public void testGetEntity_shouldReturnInvalidKey_whenMoreThenOneKey()
public void testGetEntity_shouldNotFound_whenIntegrationObjectNotExists()
public void testRoundTripForProduct()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic void testRoundTripForItemWithEnumTypeAttribute()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic void testInvalidEnumTypeValueThrowsError()
Copyright © 2018 SAP SE. All Rights Reserved.