Home / Function/ shouldNotAllowNullInConstructor1() — netty Function Reference

shouldNotAllowNullInConstructor1() — netty Function Reference

Architecture documentation for the shouldNotAllowNullInConstructor1() function in BigEndianHeapByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8e6d1d79_0ebe_3cba_482e_6edf2f75bbd4["shouldNotAllowNullInConstructor1()"]
  c672d8d2_533f_0d67_826e_f3246874147f["BigEndianHeapByteBufTest"]
  8e6d1d79_0ebe_3cba_482e_6edf2f75bbd4 -->|defined in| c672d8d2_533f_0d67_826e_f3246874147f
  style 8e6d1d79_0ebe_3cba_482e_6edf2f75bbd4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/BigEndianHeapByteBufTest.java lines 36–44

    @Test
    public void shouldNotAllowNullInConstructor1() {
        assertThrows(NullPointerException.class, new Executable() {
            @Override
            public void execute() {
                new UnpooledHeapByteBuf(null, new byte[1], 0);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldNotAllowNullInConstructor1() do?
shouldNotAllowNullInConstructor1() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/BigEndianHeapByteBufTest.java.
Where is shouldNotAllowNullInConstructor1() defined?
shouldNotAllowNullInConstructor1() is defined in buffer/src/test/java/io/netty/buffer/BigEndianHeapByteBufTest.java at line 36.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free