You need to sign in to do that
Don't have an account?
Fan@EXC
Need help on test class
I have an interface/class to expose data as follows:
global class ExposedData
{
webservice String Id;
webservice Double SomeField;
}
Now i'm told that the code wasn't covered. How to write test class to cover the code?
@isTest
private class Test_ExposedData {
ExposedData a = new ExposedData();
a.id = '1';
a.SomeField = 'someData'
}