276b826b59
Motivation: Some tests occasionally appear unstable, throwing a org.mockito.exceptions.misusing.UnfinishedStubbingException. Mockito stubbing does not work properly in multi-threaded environments, so any stubbing has to be done before the threads are started. Modifications: Modified tests to perform any custom stubbing before the client/server bootstrap logic executes. Result: HTTP/2 tests should be more stable.