<commit_before>package com.squareup.otto;

import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mockito.internal.util.collections.Sets;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;

import java.util.EnumSet;
import java.util.List;
import java.util.Set;

import javax.annotation.processing.Messager;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.ElementVisitor;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.Name;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
import javax.tools.Diagnostic;

import static java.util.Arrays.asList;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;

/**
 * @author balazsbanyai
 */
public class OttoAnnotationProcessorTest {

  private static final String METHOD_ARG_TYPE_NAME = "TestEvent";
  private static final String METHOD_NAME = "testMethod";
  private static final String QUALIFIER = "javax.annotation";
  private static final String QUALIFIED_METHOD_NAME = QUALIFIER + "." + METHOD_NAME;

  @Mock private ProcessingEnvironment env;

  @Mock private Messager messager;

  @Mock private RoundEnvironment roundEnvironment;

  @Mock private Set<? extends TypeElement> annotations;

  private OttoAnnotationProcessor processor;

  @Mock private ExecutableElement executableElement;

<commit_msg>reorder fields in test<commit_after>package com.squareup.otto;

import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mockito.internal.util.collections.Sets;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;

import java.util.EnumSet;
import java.util.List;
import java.util.Set;

import javax.annotation.processing.Messager;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.ElementVisitor;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.Name;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
import javax.tools.Diagnostic;

import static java.util.Arrays.asList;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;

/**
 * @author balazsbanyai
 */
public class OttoAnnotationProcessorTest {

  private static final String METHOD_ARG_TYPE_NAME = "TestEvent";
  private static final String METHOD_NAME = "testMethod";
  private static final String QUALIFIER = "javax.annotation";
  private static final String QUALIFIED_METHOD_NAME = QUALIFIER + "." + METHOD_NAME;

  @Mock private ProcessingEnvironment env;

  @Mock private Messager messager;

  @Mock private RoundEnvironment roundEnvironment;

  @Mock private Set<? extends TypeElement> annotations;

  @Mock private ExecutableElement executableElement;

  private OttoAnnotationProcessor processor;

{'fraction_non_alphanumeric': 0.08856682769726248, 'fraction_numerical': 0.0, 'mean_word_length': 6.045368620037808, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7592983', 'n_tokens_mistral': 1090, 'n_tokens_neox': 1057, 'n_words': 249}