code_junkie

Unit testing void methods?

Nov 12th, 2011
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. void DeductFromBalance( dAmount )
  2.  
  3. void OnAccountDebit( dAmount ) // emails account holder with info
  4.  
  5. string[] ExamineLogFileForX( string sFileName );
  6. void InsertStringsIntoDatabase( string[] );
  7.  
  8. InsertStringsIntoDatabase( ExamineLogFileForX( "c:OMG.log" ) );
Add Comment
Please, Sign In to add comment