| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.mocks |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyableEntityProviderMock
Mock which emulates the propertyable abilities, note that by default there are no properties on
entities
|
class |
ReferenceParseableEntityProviderMock
Stub class to make it possible to test the
ReferenceParseable capability, will perform
like the actual class so it can be reliably used for testing |
class |
ResolvableEntityProviderMock
Stub class to make it possible to test the
Resolvable capability, will perform like the
actual class so it can be reliably used for testingReturns MyEntity objectsAllows for testing CollectionResolvable as well, returns 3 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are setFinally, this allows us to test the outputting of data because it implements outputable |
Copyright © 2003–2021 Sakai Project. All rights reserved.