public void TestCleanup() { // Ensure that the object reference is set to null so any actual instance // can be garbage collected. User = null; }
public void TestInitialize() { // A new instance of the class is created for every test case. // This is therefore part of each test cases "Arrange" section. User = new TestedClass("test", "test", "test"); }