Search in sources :

Example 31 with AttributeConfig

use of com.hazelcast.config.AttributeConfig in project hazelcast by hazelcast.

the class ExtractorHelperTest method instantiate_extractor_notExistingClass.

@Test
public void instantiate_extractor_notExistingClass() {
    // GIVEN
    AttributeConfig config = new AttributeConfig("iq", "not.existing.class");
    // EXPECT
    expected.expect(IllegalArgumentException.class);
    expected.expectCause(isA(ClassNotFoundException.class));
    // WHEN
    instantiateExtractor(config);
}
Also used : AttributeConfig(com.hazelcast.config.AttributeConfig) QuickTest(com.hazelcast.test.annotation.QuickTest) Test(org.junit.Test)

Aggregations

AttributeConfig (com.hazelcast.config.AttributeConfig)31 QuickTest (com.hazelcast.test.annotation.QuickTest)17 Test (org.junit.Test)17 MapConfig (com.hazelcast.config.MapConfig)11 Config (com.hazelcast.config.Config)9 IndexConfig (com.hazelcast.config.IndexConfig)9 QueryCacheConfig (com.hazelcast.config.QueryCacheConfig)6 EntryListenerConfig (com.hazelcast.config.EntryListenerConfig)4 EventJournalConfig (com.hazelcast.config.EventJournalConfig)4 EvictionConfig (com.hazelcast.config.EvictionConfig)4 MapPartitionLostListenerConfig (com.hazelcast.config.MapPartitionLostListenerConfig)4 MapStoreConfig (com.hazelcast.config.MapStoreConfig)4 MergePolicyConfig (com.hazelcast.config.MergePolicyConfig)4 MultiMapConfig (com.hazelcast.config.MultiMapConfig)4 NearCacheConfig (com.hazelcast.config.NearCacheConfig)4 AwsConfig (com.hazelcast.config.AwsConfig)3 CacheSimpleConfig (com.hazelcast.config.CacheSimpleConfig)3 CacheSimpleEntryListenerConfig (com.hazelcast.config.CacheSimpleEntryListenerConfig)3 CardinalityEstimatorConfig (com.hazelcast.config.CardinalityEstimatorConfig)3 DiscoveryConfig (com.hazelcast.config.DiscoveryConfig)3