code: public static void setInternalStateFromContext(Object object, Object context, Object[] additionalContexts) {
          setInternalStateFromContext(object, context, FieldMatchingStrategy.MATCHING);
          if (additionalContexts != null && additionalContexts.length > 0) {
              for (Object additionContext : additionalContexts) {
                  setInternalStateFromContext(object, additionContext, FieldMatchingStrategy.MATCHING);
              }
          }
      }
docs: Set the values of multiple instance fields defined in a context using
  reflection. The values in the context will be assigned to values on the
  {@code instance}. This method will traverse the class hierarchy when
  searching for the fields. Example usage:
  
  Given:
  
  <pre>
  public class MyContext {
  private String myString = &quot;myString&quot;;
  protected int myInt = 9;
  }
  
  public class MyInstance {
  private String myInstanceString;
  private int myInstanceInt;
  
  }
  </pre>
  
  then
  
  <pre>
  Whitebox.setInternalStateFromContext(new MyInstance(), new MyContext());
  </pre>
  
  will set the instance variables of {@code myInstance} to the values
  specified in {@code MyContext}.
  
  @param object             the object
  @param context            The context where the fields are defined.
  @param additionalContexts Optionally more additional contexts.