use of com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory in project auto by google.
the class SerializerFactoryLoaderTest method getFactory_extensionsLoaded.
@Test
public void getFactory_extensionsLoaded() throws Exception {
SerializerFactory factory = SerializerFactoryLoader.getFactory(mockProcessingEnvironment);
Serializer actualSerializer = factory.getSerializer(typeMirrorOf(String.class));
assertThat(actualSerializer.getClass().getName()).contains("TestStringSerializerFactory$TestStringSerializer");
}
Aggregations