### Question:
OSMServerSourceController extends UrlServerSourceController { @Override protected ServiceValidator<UrlDataSource> getValidator(ServerProviderRegistry registry) { return new OSMServerSourceValidator(registry); }  @Override IDataSource createNewSource(String typeName);  }### Answer:
@Test public void testGetValidator() { OSMServerSourceController controller = new OSMServerSourceController(); assertTrue(controller.getValidator(null) instanceof OSMServerSourceValidator); }