### Question:
FastPropertiesImpl implements FastProperties { @Override public final List<String> getFastProperties() { return getFastProperties(Collections.EMPTY_LIST); }  @Override final List<String> getFastProperties(); @Override final List<String> getFastProperties(final String indexConfigFlagPropertyName); @Override final List<String> getFastProperties(final List<String> indexConfigFlagPropertyNames); List<String> getDeltaProperties(final Collection<String> fastProperties, final Collection<String> otherProperties); @Override String getFastLabel(final String label); @Override String getSlowLabel(final String label);  }### Answer:
@Test public void getFastProperties_WithNoParams() { final FastProperties fastProperties = ctx.getService(FastProperties.class); final List<String> expected = ImmutableList.of( "jcr:content/analyzedIndexRule", "jcr:content/propertyAndAnalyzedIndexRule", "jcr:content/propertyIndexRule", "jcr:content/vanilla"); final List<String> actual = fastProperties.getFastProperties(); assertEquals(expected, actual); }
@Test public void getFastProperties_WithPropertyIndexParam() { final FastProperties fastProperties = ctx.getService(FastProperties.class); final List<String> expected = ImmutableList.of( "jcr:content/propertyAndAnalyzedIndexRule", "jcr:content/propertyIndexRule"); final List<String> actual = fastProperties.getFastProperties("propertyIndex"); assertEquals(expected, actual); }
@Test public void getFastProperties_WithAnalyzedIndexParam() { final FastProperties fastProperties = ctx.getService(FastProperties.class); final List<String> expected = ImmutableList.of( "jcr:content/analyzedIndexRule", "jcr:content/propertyAndAnalyzedIndexRule"); final List<String> actual = fastProperties.getFastProperties("analyzed"); assertEquals(expected, actual); }
@Test public void getFastProperties_WithAnalyzedAndPropertyIndexParams() { final FastProperties fastProperties = ctx.getService(FastProperties.class); final List<String> expected = ImmutableList.of( "jcr:content/propertyAndAnalyzedIndexRule"); final List<String> actual = fastProperties.getFastProperties(ImmutableList.of("analyzed", "propertyIndex")); assertEquals(expected, actual); }