This is not a good assertion, it should instead check that the count you get back when you call getOrderTypes(true) has increased by 1 and that the new item has an orderTypeId