Search in sources :

Example 1 with HasUUID

use of org.drools.verifier.core.maps.util.HasUUID in project drools by kiegroup.

the class UpdatableInspectorListTest method setUp.

@Before
public void setUp() throws Exception {
    configuration = new AnalyzerConfigurationMock();
    list = new UpdatableInspectorList<>(new InspectorFactory<HasUUID, Item>(configuration) {

        @Override
        public HasUUID make(final Item item) {
            return new HasUUID() {

                @Override
                public UUIDKey getUuidKey() {
                    return mock(UUIDKey.class);
                }
            };
        }
    }, configuration);
}
Also used : HasUUID(org.drools.verifier.core.maps.util.HasUUID) AnalyzerConfigurationMock(org.drools.verifier.core.AnalyzerConfigurationMock) Before(org.junit.Before)

Aggregations

AnalyzerConfigurationMock (org.drools.verifier.core.AnalyzerConfigurationMock)1 HasUUID (org.drools.verifier.core.maps.util.HasUUID)1 Before (org.junit.Before)1