function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hari Krishnan 105Hari Krishnan 105 

write test class for the below class

global class StackOverflowPostDataSourceProvider
        extends DataSource.Provider {

    override global List<DataSource.AuthenticationCapability>
    getAuthenticationCapabilities() {
        List<DataSource.AuthenticationCapability> capabilities =
                new List<DataSource.AuthenticationCapability>();
        return capabilities;
    override global List<DataSource.Capability>
    getCapabilities() {
        List<DataSource.Capability> capabilities =
                new List<DataSource.Capability>();
        return capabilities;

    override global DataSource.Connection getConnection(
            DataSource.ConnectionParams connectionParams) {
        return new 
dipen joedipen joe
Great Post! Thank you for visiting here.