Search in sources :

Example 1 with HasUUID

use of org.drools.workbench.services.verifier.api.client.maps.util.HasUUID in project drools-wb 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.workbench.services.verifier.api.client.maps.util.HasUUID) AnalyzerConfigurationMock(org.drools.workbench.services.verifier.api.client.AnalyzerConfigurationMock) Before(org.junit.Before)

Aggregations

AnalyzerConfigurationMock (org.drools.workbench.services.verifier.api.client.AnalyzerConfigurationMock)1 HasUUID (org.drools.workbench.services.verifier.api.client.maps.util.HasUUID)1 Before (org.junit.Before)1