public void TestRetrieveCustomNamed() { var factory = new CustomNameDocValuesFormatFactory(); var DocValuesFormat = factory.GetDocValuesFormat("FooBar"); assertNotNull(DocValuesFormat); assertEquals(typeof(CustomNamedDocValuesFormat), DocValuesFormat.GetType()); }
public void TestCustomName() { var factory = new CustomNameDocValuesFormatFactory(); assertTrue(factory.AvailableServices().Contains("FooBar")); }