Class BootstrapAdapter


  • public class BootstrapAdapter
    extends Object
    A wrapper for the IO Bootstrap class. This adapter is needed in order to properly mock the underlying Bootstrap class, since it is a final class and can't be tested properly otherwise.
    • Constructor Detail

      • BootstrapAdapter

        public BootstrapAdapter​(Bootstrap bootstrap)
        Create a new BootstrapAdapter.
        Parameters:
        bootstrap - the wrapped bootstrap.