I create multiple (x5) classes in my Trigger like this :
class TypeHandler_XX implements TypeHandler {
public void action(Task record) {
/* Block code */
}
}
In the code that I am testing the value of my RecordType and I call the appropriate class.
My problem is this : How can I test the other class, in my ClassTest. Code coverage = 67%
Thanks