- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {LocalDateTime l =
new LocalDateTime()
LocalDateTime.now()
DateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
- Smart code suggestions by Codota
}
@Override protected void setUp() throws Exception { super.setUp(); PluginConfigurationManager mockPluginConfig = mock(PluginConfigurationManager.class); final PluginConfiguration mockConfigDto = PluginConfigurationBuilder.testInstance("7.1.2").build(); when(mockPluginConfig.getCurrent()).thenReturn(mockConfigDto); csService = new CheckstyleProjectService(project, mockPluginConfig); codeStyleSettings = new CodeStyleSettings(false); javaSettings = codeStyleSettings.getCommonSettings(JavaLanguage.INSTANCE); }