Testing model virtual attributes

Hi, I need a approach to unit test model virtual attributes. How can I do that? thanks