@@ -0,0 +1,1757 @@
+/**%0A * Copyright (C) 2014 android10.org. All rights reserved.%0A * @author Fernando Cejas (the android10 coder)%0A */%0Apackage com.fernandocejas.android10.gandalf.internal;%0A%0Aimport com.fernandocejas.android10.gandalf.joinpoint.GandalfJoinPoint;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0A%0Aimport static org.mockito.BDDMockito.given;%0Aimport static org.mockito.Matchers.anyObject;%0Aimport static org.mockito.Matchers.anyString;%0Aimport static org.mockito.Matchers.eq;%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class MessageManagerTest %7B%0A%0A  private MessageManager messageManager;%0A%0A  @Mock%0A  private MessageBuilder mockMessageBuilder;%0A  @Mock%0A  private DebugLog mockDebugLog;%0A  @Mock%0A  private GandalfJoinPoint mockGandalfJoinPoint;%0A%0A  @Before%0A  public void setUp() %7B%0A    MockitoAnnotations.initMocks(this);%0A    messageManager = new MessageManager(mockMessageBuilder, mockDebugLog);%0A    setupMocks();%0A  %7D%0A%0A  @After%0A  public void tearDown() %7B%0A    verifyLogcat();%0A  %7D%0A%0A  private void setupMocks() %7B%0A    given(mockGandalfJoinPoint.getClassSimpleName()).willReturn(anyString());%0A  %7D%0A%0A  private void verifyLogcat() %7B%0A    verify(mockDebugLog).log(anyString(), anyString());%0A  %7D%0A%0A  @Test%0A  public void testTracingAspectEnterMessage() %7B%0A    messageManager.printTracingAspectEnterMessage(mockGandalfJoinPoint);%0A%0A    verify(mockMessageBuilder).buildTracingAspectEnterMessage(mockGandalfJoinPoint);%0A  %7D%0A%0A  @Test%0A  public void testTracingAspectExitMessage() %7B%0A    messageManager.printTracingAspectExitMessage(mockGandalfJoinPoint, anyObject(), anyString());%0A%0A    verify(mockMessageBuilder).buildTracingAspectExitMessage(eq(mockGandalfJoinPoint), anyObject(), anyString());%0A  %7D%0A%7D%0A

Add tests for MessageManager class.