testDebugWithException() — netty Function Reference
Architecture documentation for the testDebugWithException() function in Slf4JLoggerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7979e21b_9405_a6ad_6ad8_b37e052962dd["testDebugWithException()"] 3e84843f_a698_9773_6fd1_273d916b21a7["Slf4JLoggerTest"] 7979e21b_9405_a6ad_6ad8_b37e052962dd -->|defined in| 3e84843f_a698_9773_6fd1_273d916b21a7 style 7979e21b_9405_a6ad_6ad8_b37e052962dd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java lines 136–147
@Test
public void testDebugWithException() {
Logger mockLogger = mock(Logger.class);
when(mockLogger.getName()).thenReturn("foo");
InternalLogger logger = new Slf4JLogger(mockLogger);
logger.debug("a", e);
verify(mockLogger).getName();
verify(mockLogger).debug("a", e);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDebugWithException() do?
testDebugWithException() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java.
Where is testDebugWithException() defined?
testDebugWithException() is defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java at line 136.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free