| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.mocks | |
| org.sakaiproject.entitybroker.mocks.data |
| Modifier and Type | Class and Description |
|---|---|
class |
RedirectableEntityProviderMock
Stub class to make it possible to test the
Redirectable capabilities, will perform like the
actual class so it can be reliably used for testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are set |
class |
RedirectControllableEntityProviderMock
Stub class to make it possible to test the
RedirectControllable capabilities, will perform like the
actual class so it can be reliably used for testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are set |
class |
RedirectDefineableEntityProviderMock
Stub class to make it possible to test the
RedirectDefinable capabilities, will perform like the
actual class so it can be reliably used for testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are set |
class |
RequestStoreableEntityProviderMock
Stub class to make it possible to test the
RESTful capabilities, will perform like the
actual class so it can be reliably used for testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are set |
| Modifier and Type | Field and Description |
|---|---|
RESTfulEntityProviderMock |
TestData.entityProvider6
Registered provider which implements
CoreEntityProvider and RESTful |
Copyright © 2007–2019 Sakai Project. All rights reserved.