public class EntityProviderMock extends Object implements 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 EntityProviderCopyright © 2003–2021 Sakai Project. All rights reserved.