Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @isTest
- public class codecovertess {
- @isTest
- public static void test1()
- {
- Account a = new Account();
- a.Name='testppcodecove';
- Account x = [select id,name from Account LIMIT 1];
- System.debug('x value==='+x.Name);
- ApexPages.StandardController stdController = new ApexPages.StandardController(x);
- tess t = new tess(stdController);
- t.getGreeting();
- String vartest=t.testvar;
- System.assertEquals('a', 'a');
- }
- }
Add Comment
Please, Sign In to add comment