public class CoreEntityProviderMock extends EntityProviderMock implements CoreEntityProvider
CoreEntityProvider, will perform
like the actual class so it can be reliably used for testing| Modifier and Type | Field and Description |
|---|---|
String[] |
ids
The valid entity ids for this
CoreEntityProvider, defaults are "1","2","3" |
prefix| Constructor and Description |
|---|
CoreEntityProviderMock(String prefix)
TEST Constructor: allows for easy setup of this stub for testing
|
CoreEntityProviderMock(String prefix,
String[] ids)
TEST Constructor: allows for easy setup of this stub for testing
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
entityExists(String id) |
getEntityPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityPrefixpublic String[] ids
CoreEntityProvider, defaults are "1","2","3"public CoreEntityProviderMock(String prefix)
prefix - public boolean entityExists(String id)
entityExists in interface CoreEntityProviderCopyright © 2023. All rights reserved.