Skip to main content
11 events
when toggle format what by license comment
Aug 30, 2019 at 6:00 review Close votes
Sep 6, 2019 at 3:05
Aug 30, 2019 at 5:44 comment added gnat Possible duplicate of Staying OO and Testable while working with a database
Aug 30, 2019 at 5:23 history edited ITExpert CC BY-SA 4.0
more code added
Aug 30, 2019 at 5:18 comment added ITExpert @DocBrown I have the relevant code in that block
Aug 30, 2019 at 5:18 history edited ITExpert CC BY-SA 4.0
more code added
Aug 30, 2019 at 4:20 comment added Doc Brown A similar question was asked and answered 11 years ago on Stackoverflow: How to unit test an object with database queries. You should be able to to transfer the solution to your case.
Aug 30, 2019 at 4:15 comment added Doc Brown Your question would be way more answerable if you would replace the comment in IsCustomerVerified by some more code details, so we could tell you how to modify that code to make the class more testable.
Aug 30, 2019 at 3:59 answer added VoiceOfUnreason timeline score: 1
Aug 30, 2019 at 2:56 comment added Lakshya Srivastava Checkout Mocking, click the thread: stackoverflow.com/questions/2665812/what-is-mocking
Aug 30, 2019 at 2:00 review First posts
Aug 30, 2019 at 13:22
Aug 30, 2019 at 1:59 history asked ITExpert CC BY-SA 4.0