One major characteristics of Object Oriented Software is the complex dependency that exists between classes due to three different types of relationships that are inheritance, association and aggregation. Due to these dependencies one major problem arise while integrating and testing the object oriented software in order to reduce the number of required test stubs and to determine the test order for testing different classes. This paper presents a comparison between different test orders by exploiting a model produced during design stages (e.g. using UML), namely the Use Case Diagram and Class Diagrams. Our goal is to study and compare different test orders. Based on which we will propose efficient test order to reduce the number of stubs as well as time of testing. For the analysis of our proposed method we will take software developed for ATM machine.