Test metody acceptEvent