Cleaning up the channel unit test so that the channel is torn down after every test.
* Make the WinMock a function so that we can easily reset its state after every test. * Do the winMock init in the startup function to reduce cruft. * Close the channel after every test, causing a channel reset.
Please register or sign in to comment