@Test public void StatementTypeのPREPAREDに一致するQueryBuilderのインスタンスを取得できる() throws Exception { QueryBuilder builder = queryBuilderFactory.getBuilder(StatementType.PREPARED); assertThat(builder, is(instanceOf(PreparedQueryBuilder.class))); }
public QueryBuilder getBuilder(StatementType statementType) { Args.checkNotNull(statementType); return registory.get(statementType); }
QueryBuilderFactory { public QueryBuilder getBuilder(StatementType statementType) { Args.checkNotNull(statementType); return registory.get(statementType); } }
QueryBuilderFactory { public QueryBuilder getBuilder(StatementType statementType) { Args.checkNotNull(statementType); return registory.get(statementType); } QueryBuilderFactory(boolean normalize); }
QueryBuilderFactory { public QueryBuilder getBuilder(StatementType statementType) { Args.checkNotNull(statementType); return registory.get(statementType); } QueryBuilderFactory(boolean normalize); QueryBuilder getBuilder(StatementType statementType); }
QueryBuilderFactory { public QueryBuilder getBuilder(StatementType statementType) { Args.checkNotNull(statementType); return registory.get(statementType); } QueryBuilderFactory(boolean normalize); QueryBuilder getBuilder(StatementType statementType);  }