use of com.hazelcast.config.MapAttributeConfig in project hazelcast by hazelcast.
the class ExtractorHelperTest method instantiate_extractor_notExistingClass.
@Test
public void instantiate_extractor_notExistingClass() {
// GIVEN
MapAttributeConfig config = new MapAttributeConfig("iq", "not.existing.class");
// EXPECT
expected.expect(IllegalArgumentException.class);
expected.expectCause(isA(ClassNotFoundException.class));
// WHEN
instantiateExtractor(config);
}
use of com.hazelcast.config.MapAttributeConfig in project hazelcast by hazelcast.
the class NestedPredicateWithExtractorTest method extractor.
private static MapAttributeConfig extractor(String name, String extractor) {
MapAttributeConfig extractorConfig = new MapAttributeConfig();
extractorConfig.setName(name);
extractorConfig.setExtractor(extractor);
return extractorConfig;
}
Aggregations