Unit test with mock objects in Action Script 3.0

I am learning how to unit test with mock objects in Action Script 3.0. I was able to create and instantiate the Mock objects but cannot go about defining their behaviour. Can any expert guide me what code or script to use to do that? Also tell me how to go on about verifying the behaviour and checking if I have done correctly?
