AngleBracketTypeAssertionCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey();  }
@Test public void configurations() { String configAsString = new Gson().toJson(new AngleBracketTypeAssertionCheck().configurations()); assertThat(configAsString).isEqualTo("[{\"assertionStyle\":\"as\",\"objectLiteralTypeAssertions\":\"allow\"}]"); }