teste com classes abstract