@Test public void configurations() { ContentLengthCheck check = new ContentLengthCheck(); assertThat(check.configurations()).containsExactly(8_000_000L, 2_000_000L); check.fileUploadSizeLimit = 42; check.standardSizeLimit = 24; assertThat(check.configurations()).containsExactly(42L, 24L); }
@Override public List<Object> configurations() { return Arrays.asList(fileUploadSizeLimit, standardSizeLimit); }
ContentLengthCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Arrays.asList(fileUploadSizeLimit, standardSizeLimit); } }
ContentLengthCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Arrays.asList(fileUploadSizeLimit, standardSizeLimit); }  }
ContentLengthCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Arrays.asList(fileUploadSizeLimit, standardSizeLimit); }  @Override List<Object> configurations(); @Override String eslintKey(); }
ContentLengthCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Arrays.asList(fileUploadSizeLimit, standardSizeLimit); }  @Override List<Object> configurations(); @Override String eslintKey();  }