function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Customer_Interaction__b bo = new Customer_Interaction__b(); bo.Account__c = “001R000000302D3”; bo.Game_Platform__c = “PC”; bo.Play_Date__c = “2015-01-01T23:01:01Z”; bo.In_Game_Purchase__c = “A12569”; bo.Level_Achieved__c = “41”; bo.Lives_This_Game__c = “3”; bo.Score_This_Game__c = “5500”; bo.Play_Duration__c = “25”; database.insertImmediate(bo);
https://developer.salesforce.com/docs/atlas.en-us.bigobjects.meta/bigobjects/apex_testing_stub_api.htm
Solution Which you Provide like below
Customer_Interaction__b bo = new Customer_Interaction__b();
bo.Account__c = “001R000000302D3”;
bo.Game_Platform__c = “PC”;
bo.Play_Date__c = “2015-01-01T23:01:01Z”;
bo.In_Game_Purchase__c = “A12569”;
bo.Level_Achieved__c = “41”;
bo.Lives_This_Game__c = “3”;
bo.Score_This_Game__c = “5500”;
bo.Play_Duration__c = “25”;
database.insertImmediate(bo);
it doesn't work in Test class.
and How to write Mocking Framework with the Stub API for Bigobject ?