@Test
 public void testBuildDefaults() {
   FuzzyConditionBuilder builder = new FuzzyConditionBuilder("field", "value");
   FuzzyCondition condition = builder.build();
   assertNotNull(condition);
   assertEquals(Condition.DEFAULT_BOOST, condition.boost, 0);
   assertEquals("field", condition.field);
   assertEquals("value", condition.value);
   assertEquals(FuzzyCondition.DEFAULT_MAX_EDITS, condition.maxEdits);
   assertEquals(FuzzyCondition.DEFAULT_PREFIX_LENGTH, condition.prefixLength);
   assertEquals(FuzzyCondition.DEFAULT_MAX_EXPANSIONS, condition.maxExpansions);
   assertEquals(FuzzyCondition.DEFAULT_TRANSPOSITIONS, condition.transpositions);
 }
 @Test
 public void testBuild() {
   FuzzyConditionBuilder builder = new FuzzyConditionBuilder("field", "value");
   builder.boost(0.7f);
   builder.maxEdits(2);
   builder.prefixLength(2);
   builder.maxExpansions(49);
   builder.transpositions(true);
   FuzzyCondition condition = builder.build();
   assertNotNull(condition);
   assertEquals(0.7f, condition.boost, 0);
   assertEquals("field", condition.field);
   assertEquals("value", condition.value);
   assertEquals(2, condition.maxEdits);
   assertEquals(2, condition.prefixLength);
   assertEquals(49, condition.maxExpansions);
   assertEquals(true, condition.transpositions);
 }