+ Start a Discussion
John Manager Training DepJohn Manager Training Dep 

Test coverage for abstract class implementing interface?

Hi Team,

How do I write Test class for the abstract class which implements the interface as shown below?
Interface,
public Interface InterfaceP{

    public virtual void beforeInsert() {} 
    public virtual void beforeUpdate() {}
    public virtual void beforeDelete() {}
    public virtual void afterInsert() {}
    public virtual void afterUpdate() {}
    public virtual void afterDelete() {}
    public virtual void afterUndelete() {}   

}
Abstract class,
public with sharing abstract class AbstractP implements InterfaceP{

    public AbstractP() {}    
    public virtual void bInsert() {} 
    public virtual void bUpdate() {}
    public virtual void bDelete() {}
    public virtual void aInsert() {}
    public virtual void aUpdate() {}
    public virtual void aDelete() {}
    public virtual void aUndelete() {}    
}



Many Thanks in advance for all your help and support!