### Question:
RestSinkConnector extends SinkConnector { @Override public String version() { return VersionUtil.getVersion(); }  @Override String version(); @Override void start(Map<String, String> map); @Override Class<? extends Task> taskClass(); @Override List<Map<String, String>> taskConfigs(int maxTasks); @Override void stop(); @Override ConfigDef config();  }### Answer:
@Test public void shouldReturnVersionWhenRequested() { PowerMockito.mockStatic(VersionUtil.class); when(VersionUtil.getVersion()).thenReturn("test"); String version = subject.version(); assertEquals("test", version); }