Try the below code in TestDriven.Net:
[Test, Isolated]
public void ComboItemBarItemTest()
{
ComboBoxBarItem cb = Isolate.Fake.Instance<ComboBoxBarItem>(Members.ReturnRecursiveFakes);
Isolate.WhenCalled(() => cb.Text).WillReturn("20");
}
It will take ages for the test to finish running, even though if I step in using the debugger, I can pass through the two statements above. The program seems to hang at ClearMocks stage.
________
vaporizer answer