Handle abstract class mock