public void WalksTheClassHierarchyUpwardsIfNoRenderersAreFound() { var testLogger = new TestLogger(LogLevel.Debug); var mockRenderer = MockRepository.GenerateMock<IObjectRenderer>(); testLogger.AddObjectRenderer<ObjectRendering>(mockRenderer); var childClassOfChildClass = new SubTestClass(); testLogger.Debug("Test {0}", childClassOfChildClass); mockRenderer.AssertWasCalled(p => p.Render(childClassOfChildClass)); }
public static void UnitTest_10043() { SubTestClass test = new SubTestClass(); }