All Classes
-
Class Summary Class Description ActionsDefineableEntityProviderMock Stub class to make it possible to test theActionsExecutablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setActionsEntityProviderMock Stub class to make it possible to test theActionsExecutablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setActionsExecutionEntityProviderMock Stub class to make it possible to test theActionsExecutablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setBrowsableEntityProviderMock Stub class to make it possible to test theBrowseableCollectioncapability, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setBrowseSearchableEntityProviderMock Stub class to make it possible to test theBrowseSearchablecapability, will perform like the actual class so it can be reliably used for testing
Gets 3 entities, user=aaronz gets entity 2, assoc=siteAZ gets entity 3
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setCoreEntityProviderMock Stub class to make it easier to test things that use anCoreEntityProvider, will perform like the actual class so it can be reliably used for testingCRUDableEntityProviderMock Stub class to make it possible to test theCRUDablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setDescribeableEntityProviderMock Stub class to make it possible to test theDescribeablecapabilities, 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 allCRUDableoperations also
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setDescribePropertiesableEntityProviderMock Stub class to make it possible to test theDescribePropertiesablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations also
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setEntityProviderMock Stub class to make it easier to test things that use anEntityProvider, will perform like the actual class so it can be reliably used for testing
NOTE: you will want to use theCoreEntityProviderstub in almost all cases but this is here for completenessEntityViewAccessProviderManagerMock For testing things that use the access provider manager, always return a newEntityViewAccessProviderMockunless the prefix is invalid, pretends other methods workEntityViewAccessProviderMock Pretends to be an access servlet provider for things that use them, will only handle HTML and RSS formats, dies for all others, this is an access formatter (RSS,HTML)HttpServletAccessProviderManagerMock For testing things that use the access provider manager, always return a newHttpServletAccessProviderMockunless the prefix is invalid, pretends other methods workHttpServletAccessProviderMock Pretends to be an access servlet provider for things that use them, will not throw any exceptions or do anythingMyEntity This is a sample entity object for testing, it is a bean with no default values and comparison overridesPropertyableEntityProviderMock Mock which emulates the propertyable abilities, note that by default there are no properties on entitiesRedirectableEntityProviderMock Stub class to make it possible to test theRedirectablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setRedirectControllableEntityProviderMock Stub class to make it possible to test theRedirectControllablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setRedirectDefineableEntityProviderMock Stub class to make it possible to test theRedirectDefinablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 2MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setReferenceParseableEntityProviderMock Stub class to make it possible to test theReferenceParseablecapability, will perform like the actual class so it can be reliably used for testingRequestStoreableEntityProviderMock Stub class to make it possible to test theRESTfulcapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setResolvableEntityProviderMock Stub class to make it possible to test theResolvablecapability, will perform like the actual class so it can be reliably used for testing
ReturnsMyEntityobjects
Allows for testingCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
Finally, this allows us to test the outputting of data because it implements outputableRESTfulEntityProviderMock Stub class to make it possible to test theRESTfulcapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations as well as allowing for internal data output processing
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setSerializeableEntityProviderMock Stub class to make it possible to test theOutputSerializablecapabilities, will perform like the actual class so it can be reliably used for testing
Will perform allCRUDableoperations
ReturnsMyEntityobjects
Allows for testingResolvableandCollectionResolvableas well, returns 3MyEntityobjects if no search restrictions, 1 if "stuff" property is set, none if other properties are setTagEntityProviderMock This is an entity provider which uses the internal tagging serviceTaggableEntityProviderMock Mock which emulates the taggable abilities, note that by default there are no tags on entitiesTestData Contains test data for testing the entity broker