### Question:
TileSetEnvoy extends AbstractEnvoy implements DataRegistryDataProvider { @Override public void open() { try { query(new DataModelCategory(null, TileSet.class.getName(), null), New.collection(), New.list(), New.list(), -1, New.collection(), new CacheDepositReceiver() { @Override public <T> long[] receive(CacheDeposit<T> deposit) { myValidatorSupport.setValidationResult(ValidationStatus.VALID, null); return getDataRegistry().addModels(deposit); } }); } catch (InterruptedException | QueryException e) { myValidatorSupport.setValidationResult(ValidationStatus.ERROR, e.getMessage()); LOGGER.error(e, e); } } TileSetEnvoy(Toolbox toolbox, DefaultValidatorSupport validatorSupport, String serverUrl); @Override Collection<? extends Satisfaction> getSatisfaction(DataModelCategory dataModelCategory,
            Collection<? extends IntervalPropertyValueSet> intervalSets); @Override String getThreadPoolName(); DefaultValidatorSupport getValidatorSupport(); @Override void open(); @Override boolean providesDataFor(DataModelCategory category); @Override void query(DataModelCategory category, Collection<? extends Satisfaction> satisfactions,
            List<? extends PropertyMatcher<?>> parameters, List<? extends OrderSpecifier> orderSpecifiers, int limit,
            Collection<? extends PropertyDescriptor<?>> propertyDescriptors, CacheDepositReceiver queryReceiver);  }### Answer:
@Test public void testOpen() throws IOException, URISyntaxException { EasyMockSupport support = new EasyMockSupport(); DataRegistry dataRegistry = createDataRegistry(support); Toolbox toolbox = createToolbox(support, dataRegistry); support.replayAll(); DefaultValidatorSupport validatorSupport = new DefaultValidatorSupport(null); TileSetEnvoy envoy = new TileSetEnvoy(toolbox, validatorSupport, ourTestServer); envoy.open(); assertEquals(ValidationStatus.VALID, validatorSupport.getValidationStatus()); support.verifyAll(); }