org.sakaiproject.entitybroker.mocks
Class DescribeableEntityProviderMock
java.lang.Object
org.sakaiproject.entitybroker.mocks.EntityProviderMock
org.sakaiproject.entitybroker.mocks.CRUDableEntityProviderMock
org.sakaiproject.entitybroker.mocks.DescribeableEntityProviderMock
- All Implemented Interfaces:
- Createable, CRUDable, Deleteable, Describeable, Resolvable, Sampleable, Saveable, Updateable, CoreEntityProvider, EntityProvider
public class DescribeableEntityProviderMock
- extends CRUDableEntityProviderMock
- implements Describeable
Stub class to make it possible to test the Describeable capabilities, will perform like the
actual class so it can be reliably used for testing
NOTE: This MUST use "describe-prefix" as the prefix
Will perform all CRUDable operations also
Returns MyEntity objects
Allows 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
- Author:
- Aaron Zeckoski (azeckoski @ gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescribeableEntityProviderMock
public DescribeableEntityProviderMock(String prefix,
String[] ids)
Copyright © 2007-2013 Sakai Project. All Rights Reserved.