Class Whitebox


  • public class Whitebox
    extends Object
    Copied from mockito.

    Original license: Copyright (c) 2007 Mockito contributors This program is made available under the terms of the MIT License.

    • Constructor Detail

      • Whitebox

        public Whitebox()
    • Method Detail

      • getInternalState

        public static <T> T getInternalState​(Object target,
                                             String field)
      • setInternalState

        public static void setInternalState​(Object target,
                                            String field,
                                            Object value)