public class EntityProviderMock extends Object implements org.sakaiproject.entitybroker.entityprovider.EntityProvider
EntityProvider, will perform
like the actual class so it can be reliably used for testingCoreEntityProvider stub in almost all cases but this is here for completeness| Modifier and Type | Field and Description |
|---|---|
String |
prefix
Set this to the prefix that this
EntityProvider handles, default value is "testPrefix" |
| Constructor and Description |
|---|
EntityProviderMock(String prefix)
TEST Constructor: allows for easy setup of this stub for testing
|
public String prefix
EntityProvider handles, default value is "testPrefix"public EntityProviderMock(String prefix)
prefix - public String getEntityPrefix()
getEntityPrefix in interface org.sakaiproject.entitybroker.entityprovider.EntityProviderCopyright © 2007-2015 Sakai Project. All Rights Reserved.