Default Format in Tests

pull/11/head
Markus Kreth 1 year ago
parent 216c3922fa
commit 90dbf7edc7
  1. 3
      src/test/java/de/kreth/property2java/GeneratorTests.java

@ -45,8 +45,9 @@ class GeneratorTests {
input.put(path, testProperties());
config = Mockito.spy(TestImplConfig.class);
when(config.getRootPath()).thenReturn(new File(".").toPath());
when(config.getFormat()).thenReturn(Format.WithInitializer);
when(config.getFormat()).thenReturn(Format.WithUnaryOperatorParameter);
when(config.getInput()).thenReturn(input);
when(config.mapFilenameToClassName(anyString())).thenCallRealMethod();
when(config.outputCharset()).thenCallRealMethod();

Loading…
Cancel
Save