openmrs/openmrs-core — pull request #253 by andreapat (2013-03-21 18:36:24+00:00)
Title: Trunk 3289a

HibernateOrderDAO
New method: to delete Obs that references an Order when Order is deleted
public void deleteObsThatReference(Order order)

OrderServiceTest
purgeOrder_shouldDeleteObsThatReference()

Called in OrderServiceImpl.purgeOrder