use of org.graylog2.jackson.AutoValueSubtypeResolver in project graylog2-server by Graylog2.
the class ContentPackTest method setUp.
@Before
public void setUp() throws Exception {
objectMapper = new ObjectMapperProvider().get();
objectMapper.setSubtypeResolver(new AutoValueSubtypeResolver());
}
use of org.graylog2.jackson.AutoValueSubtypeResolver in project graylog2-server by Graylog2.
the class EntityTest method setUp.
@Before
public void setUp() throws Exception {
objectMapper = new ObjectMapperProvider().get();
objectMapper.setSubtypeResolver(new AutoValueSubtypeResolver());
}
use of org.graylog2.jackson.AutoValueSubtypeResolver in project graylog2-server by Graylog2.
the class ContentPackResourceTest method setUp.
@Before
public void setUp() {
objectMapper = new ObjectMapperProvider().get();
objectMapper.setSubtypeResolver(new AutoValueSubtypeResolver());
contentPackResource = new PermittedTestResource(contentPackService, contentPackPersistenceService, contentPackInstallationPersistenceService);
}
Aggregations