I notice that if I write
Expect.Call(delegate { obj.Method(null); }).IgnoreArguments().Do(
new Action(() => {Console.Write("executed");throw new Exception(); }));
Provided that the method does run, MbUnit will recieve the "executed" message but will not detect an exception being thrown. Does anyone know why that is so? Is this something about the way anonymous methods are treated by the framework or about the way Rhino Mocks executes them?