Is it possible to say that the layout / stub did not see the interaction in RhinoMocks at all. Sort of:
logger.AssertNoInteraction();
To claim that no method was called on the encoded log.
This would be much less tiring than invoking the following every time:
logger.AssertWasNotCalled(l => l.Debug(Arg<string>.Is.Anything()));
logger.AssertWasNotCalled(l => l.Info(Arg<string>.Is.Anything()));
logger.AssertWasNotCalled(l => l.Warning(Arg<string>.Is.Anything()));
logger.AssertWasNotCalled(l => l.Error(Arg<string>.Is.Anything()));
source
share