test_class.declarator: entityClass = TestClass.class
test_class.modifier: private final
test_class.original_string: private final Class<TestClass> entityClass = TestClass.class;
test_class.type: Class<TestClass>
test_class.var_name: entityClass
test_class.declarator: solrServer = mock(SolrServer.class)
test_class.modifier: private final
test_class.original_string: private final SolrServer solrServer = mock(SolrServer.class);
test_class.type: SolrServer
test_class.var_name: solrServer
test_class.declarator: queryTranslator = mock(SolrQueryTranslator.class)
test_class.modifier: private final
test_class.original_string: private final SolrQueryTranslator queryTranslator = mock(SolrQueryTranslator.class);
test_class.type: SolrQueryTranslator
test_class.var_name: queryTranslator
test_class.declarator: executor = new SolrQueryExecutor(solrServer, queryTranslator)
test_class.modifier: private final
test_class.original_string: private final SolrQueryExecutor executor = new SolrQueryExecutor(solrServer, queryTranslator);
test_class.type: SolrQueryExecutor
test_class.var_name: executor
test_class.declarator: query = QueryBuilder
              .builderFor(entityClass).add(Restrictions.eq("name", "test"))
              .build()
test_class.modifier: private final
test_class.original_string: private final Query<TestClass, TestClass> query = QueryBuilder
              .builderFor(entityClass).add(Restrictions.eq("name", "test"))
              .build();
test_class.type: Query<TestClass, TestClass>
test_class.var_name: query
test_class.declarator: queryString = query.getCriteria().toString()
test_class.modifier: private final
test_class.original_string: private final String queryString = query.getCriteria().toString();
test_class.type: String
test_class.var_name: queryString
test_class.declarator: idQuery = QueryBuilder
              .builderFor(entityClass, Long.class, "id").build()
test_class.modifier: private final
test_class.original_string: private final Query<TestClass, Long> idQuery = QueryBuilder
              .builderFor(entityClass, Long.class, "id").build();
test_class.type: Query<TestClass, Long>
test_class.var_name: idQuery
test_class.declarator: tupleQuery = QueryBuilder
              .builderFor(entityClass, TestClassTuple.class, "id").build()
test_class.modifier: private final
test_class.original_string: private final Query<TestClass, TestClassTuple> tupleQuery = QueryBuilder
              .builderFor(entityClass, TestClassTuple.class, "id").build();
test_class.type: Query<TestClass, TestClassTuple>
test_class.var_name: tupleQuery
test_class.declarator: tuple2Query = QueryBuilder
              .builderFor(entityClass, TestClassTuple2.class, "id").build()
test_class.modifier: private final
test_class.original_string: private final Query<TestClass, TestClassTuple2> tuple2Query = QueryBuilder
              .builderFor(entityClass, TestClassTuple2.class, "id").build();
test_class.type: Query<TestClass, TestClassTuple2>
test_class.var_name: tuple2Query
test_class.declarator: t1 = new TestClass(1L, "test1", 1, 2)
test_class.modifier: private final
test_class.original_string: private final TestClass t1 = new TestClass(1L, "test1", 1, 2);
test_class.type: TestClass
test_class.var_name: t1
test_class.declarator: tests = {
              new TestClass(1L, "test1", 1, 2),
              new TestClass(2L, "test2", 3, 4),
              new TestClass(3L, "test3", 5, 6),
              new TestClass(4L, "test4", 7, 8),
              new TestClass(5L, "test5", 9, 0),
              new TestClass(6L, "test6", 1, 2),
      }
test_class.modifier: private final
test_class.original_string: private final TestClass[] tests = {
              new TestClass(1L, "test1", 1, 2),
              new TestClass(2L, "test2", 3, 4),
              new TestClass(3L, "test3", 5, 6),
              new TestClass(4L, "test4", 7, 8),
              new TestClass(5L, "test5", 9, 0),
              new TestClass(6L, "test6", 1, 2),
      };
test_class.type: TestClass[]
test_class.var_name: tests
test_class.declarator: ids = new Long[tests.length]
test_class.modifier: private final
test_class.original_string: private final Long[] ids = new Long[tests.length];
test_class.type: Long[]
test_class.var_name: ids
test_class.file: seeking-solr/src/test/java/com/eharmony/matching/seeking/executor/solr/SolrQueryExecutorTest.java
test_class.identifier: SolrQueryExecutorTest
test_case.body: @Test
      public void save_many() {
          Iterable<TestClass> saved = executor.save(Arrays.asList(tests));
          Iterator<TestClass> iterator = saved.iterator();
          for (int i = 0; i < tests.length; i++) {
              assertEquals(tests[i], iterator.next());
          }
      }
test_case.class_method_signature: SolrQueryExecutorTest.save_many()
test_case.full_signature: @Test public void save_many()
test_case.identifier: save_many
test_case.invocations: save asList iterator assertEquals next
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void save_many()
focal_class.declarator: queryTranslator
focal_class.modifier: private final
focal_class.original_string: private final SolrQueryTranslator queryTranslator;
focal_class.type: SolrQueryTranslator
focal_class.var_name: queryTranslator
focal_class.declarator: solrServer
focal_class.modifier: private final
focal_class.original_string: private final SolrServer solrServer;
focal_class.type: SolrServer
focal_class.var_name: solrServer
focal_class.declarator: transformer = new SolrResultsTransformer()
focal_class.modifier: private final
focal_class.original_string: private final SolrResultsTransformer transformer = new SolrResultsTransformer();
focal_class.type: SolrResultsTransformer
focal_class.var_name: transformer
focal_class.file: seeking-solr/src/main/java/com/eharmony/matching/seeking/executor/solr/SolrQueryExecutor.java
focal_class.identifier: SolrQueryExecutor
focal_class.interfaces: implements QueryExecutor
focal_class.class_method_signature: SolrQueryExecutor.SolrQueryExecutor(SolrServer solrServer,
              SolrQueryTranslator queryTranslator)
focal_class.full_signature: public  SolrQueryExecutor(SolrServer solrServer,
              SolrQueryTranslator queryTranslator)
focal_class.identifier: SolrQueryExecutor
focal_class.modifiers: public
focal_class.parameters: (SolrServer solrServer,
              SolrQueryTranslator queryTranslator)
focal_class.signature:  SolrQueryExecutor(SolrServer solrServer,
              SolrQueryTranslator queryTranslator)
focal_class.class_method_signature: SolrQueryExecutor.translate(Query<T, R> query)
focal_class.full_signature: protected SolrQuery translate(Query<T, R> query)
focal_class.identifier: translate
focal_class.modifiers: protected
focal_class.parameters: (Query<T, R> query)
focal_class.return: SolrQuery
focal_class.signature: SolrQuery translate(Query<T, R> query)
focal_class.class_method_signature: SolrQueryExecutor.fetch(SolrQuery solrQuery, Class<R> returnType)
focal_class.full_signature: protected List<R> fetch(SolrQuery solrQuery, Class<R> returnType)
focal_class.identifier: fetch
focal_class.modifiers: protected
focal_class.parameters: (SolrQuery solrQuery, Class<R> returnType)
focal_class.return: List<R>
focal_class.signature: List<R> fetch(SolrQuery solrQuery, Class<R> returnType)
focal_class.class_method_signature: SolrQueryExecutor.find(Query<T, R> query)
focal_class.full_signature: @Override public Iterable<R> find(Query<T, R> query)
focal_class.identifier: find
focal_class.modifiers: @Override public
focal_class.parameters: (Query<T, R> query)
focal_class.return: Iterable<R>
focal_class.signature: Iterable<R> find(Query<T, R> query)
focal_class.class_method_signature: SolrQueryExecutor.findOne(Query<T, R> query)
focal_class.full_signature: @Override public R findOne(Query<T, R> query)
focal_class.identifier: findOne
focal_class.modifiers: @Override public
focal_class.parameters: (Query<T, R> query)
focal_class.return: R
focal_class.signature: R findOne(Query<T, R> query)
focal_class.class_method_signature: SolrQueryExecutor.save(T entity)
focal_class.full_signature: public T save(T entity)
focal_class.identifier: save
focal_class.modifiers: public
focal_class.parameters: (T entity)
focal_class.return: T
focal_class.signature: T save(T entity)
focal_class.class_method_signature: SolrQueryExecutor.save(Iterable<T> entities)
focal_class.full_signature: public Iterable<T> save(Iterable<T> entities)
focal_class.identifier: save
focal_class.modifiers: public
focal_class.parameters: (Iterable<T> entities)
focal_class.return: Iterable<T>
focal_class.signature: Iterable<T> save(Iterable<T> entities)
focal_method.body: public <T> T save(T entity) {
          try {
              solrServer.addBean(entity);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
          return entity;
      }
focal_method.class_method_signature: SolrQueryExecutor.save(T entity)
focal_method.full_signature: public T save(T entity)
focal_method.identifier: save
focal_method.invocations: addBean
focal_method.modifiers: public
focal_method.parameters: (T entity)
focal_method.return: T
focal_method.signature: T save(T entity)