How to unit test works in salesforce?
I've done writing code on salesforce and in order to release the unit tests have to cover at least 75% . What I am facing is that the classOne that calls methods from classTwo also have to cover classTwo 's unit test within classOne even though it is done in classTwo file already. File MyClassTwo public with sharing class ClassTwo { public String method1() { return 'one'; } public String method2() { return 'two'; } public static testMethod void testMethod1() { ClassTwo two = new ClassTwo(); String out = two.method1(); system.assertEquals(out, 'one'); //valid } public static testMethod void