@Test
public void getValidators() throws IOException {

    String responseBody = ContractTestHelper.loadFile(
            "/responses/invokefunction_getvalidators.json");
    WireMock.stubFor(post(urlEqualTo("/"))
            .withRequestBody(new RegexPattern(""
                    + ".*\"method\":\"invokefunction\""
                    + ".*\"params\":"
                    + ".*\"de5f57d430d3dece511cf975a8d37848cb9e0525\"" // neo contract
                    + ".*\"getValidators\".*" // function
            ))
            .willReturn(aResponse()
                    .withStatus(200)
                    .withBody(responseBody)));
    List<ECPublicKey> result = new NeoToken(neow).getValidators();
    String expKeyHex = "02c0b60c995bc092e866f15a37c176bb59b7ebacf069ba94c0ebf561cb8f956238";
    System.out.println(Numeric.toBigInt(Numeric.hexStringToByteArray(expKeyHex)));
    ECPublicKey expKey = new ECPublicKey(Numeric.hexStringToByteArray(expKeyHex));
    assertThat(result, contains(expKey));
}