testCheckNotNullArrayParam() — netty Function Reference
Architecture documentation for the testCheckNotNullArrayParam() function in ObjectUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7ae176b6_7ca7_2f02_417b_aea166991fe5["testCheckNotNullArrayParam()"] 8fcf4c56_0a48_2ee3_0436_44c30076d4c0["ObjectUtilTest"] 7ae176b6_7ca7_2f02_417b_aea166991fe5 -->|defined in| 8fcf4c56_0a48_2ee3_0436_44c30076d4c0 style 7ae176b6_7ca7_2f02_417b_aea166991fe5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/ObjectUtilTest.java lines 116–134
@Test
public void testCheckNotNullArrayParam() {
Exception actualEx = null;
try {
ObjectUtil.checkNotNullArrayParam(NON_NULL_OBJECT, 1, NON_NULL_NAME);
} catch (Exception e) {
actualEx = e;
}
assertNull(actualEx, TEST_RESULT_NULLEX_NOK);
actualEx = null;
try {
ObjectUtil.checkNotNullArrayParam(NULL_OBJECT, 1, NULL_NAME);
} catch (Exception e) {
actualEx = e;
}
assertNotNull(actualEx, TEST_RESULT_NULLEX_OK);
assertTrue(actualEx instanceof IllegalArgumentException, TEST_RESULT_EXTYPE_NOK);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCheckNotNullArrayParam() do?
testCheckNotNullArrayParam() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/ObjectUtilTest.java.
Where is testCheckNotNullArrayParam() defined?
testCheckNotNullArrayParam() is defined in common/src/test/java/io/netty/util/internal/ObjectUtilTest.java at line 116.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free