Class ReferenceParseableEntityProviderMock

  • All Implemented Interfaces:
    org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable, org.sakaiproject.entitybroker.entityprovider.CoreEntityProvider, org.sakaiproject.entitybroker.entityprovider.EntityProvider

    public class ReferenceParseableEntityProviderMock
    extends CoreEntityProviderMock
    implements org.sakaiproject.entitybroker.entityprovider.CoreEntityProvider, org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable
    Stub class to make it possible to test the ReferenceParseable capability, will perform like the actual class so it can be reliably used for testing
    Author:
    Aaron Zeckoski (aaronz@vt.edu)
    • Constructor Detail

      • ReferenceParseableEntityProviderMock

        public ReferenceParseableEntityProviderMock​(String prefix,
                                                    String[] ids)
        TEST Constructor: allows for easy setup of this stub for testing
        Parameters:
        prefix -
        ids -
    • Method Detail

      • getParsedExemplar

        public org.sakaiproject.entitybroker.EntityReference getParsedExemplar()
        Specified by:
        getParsedExemplar in interface org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable