org.sakaiproject.entitybroker.mocks
Class DescribePropertiesableEntityProviderMock
java.lang.Object
org.sakaiproject.entitybroker.mocks.EntityProviderMock
org.sakaiproject.entitybroker.mocks.CRUDableEntityProviderMock
org.sakaiproject.entitybroker.mocks.DescribePropertiesableEntityProviderMock
- All Implemented Interfaces:
- Createable, CRUDable, Deleteable, Describeable, DescribePropertiesable, Resolvable, Sampleable, Saveable, Updateable, CoreEntityProvider, EntityProvider
public class DescribePropertiesableEntityProviderMock
- extends CRUDableEntityProviderMock
- implements DescribePropertiesable
Stub class to make it possible to test the DescribePropertiesable capabilities, will perform like the
actual class so it can be reliably used for testing
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 |
DescribePropertiesableEntityProviderMock
public DescribePropertiesableEntityProviderMock(String prefix,
String[] ids)
getBaseName
public String getBaseName()
- Specified by:
getBaseName in interface DescribePropertiesable
getResourceClassLoader
public ClassLoader getResourceClassLoader()
- Specified by:
getResourceClassLoader in interface DescribePropertiesable
Copyright © 2007-2013 Sakai Project. All Rights Reserved.