### Question:
DefaultHttp2Connection implements Http2Connection { @Override public Http2Stream stream(int streamId) { return streamMap.get(streamId); } DefaultHttp2Connection(boolean server);  DefaultHttp2Connection(boolean server, int maxReservedStreams); @Override Future<Void> close(final Promise<Void> promise); @Override void addListener(Listener listener); @Override void removeListener(Listener listener); @Override boolean isServer(); @Override Http2Stream connectionStream(); @Override Http2Stream stream(int streamId); @Override boolean streamMayHaveExisted(int streamId); @Override int numActiveStreams(); @Override Http2Stream forEachActiveStream(Http2StreamVisitor visitor); @Override Endpoint<Http2LocalFlowController> local(); @Override Endpoint<Http2RemoteFlowController> remote(); @Override boolean goAwayReceived(); @Override void goAwayReceived(final int lastKnownStream, long errorCode, ByteBuf debugData); @Override boolean goAwaySent(); @Override boolean goAwaySent(final int lastKnownStream, long errorCode, ByteBuf debugData); @Override PropertyKey newKey();  }### Answer:
@Test public void getStreamWithoutStreamShouldReturnNull() { assertNull(server.stream(100)); }