@Test
public void getBlockedAccounts() throws IOException {

    setUpWireMockForInvokeFunction("getBlockedAccounts",
            "policy_getBlockedAccounts.json");
    PolicyContract policyContract = new PolicyContract(this.neow3j);
    List<ScriptHash> blockedAccounts = policyContract.getBlockedAccounts();
    assertNotNull(blockedAccounts);
    assertThat(blockedAccounts.size(), is(2));
    assertThat(blockedAccounts, contains(
            ScriptHash.fromAddress("Aa1rZbE1k8fXTwzaxxsPRtJYPwhDQjWRFZ"),
            ScriptHash.fromAddress("ATpVyfpFwE2SzNGSvXDNrtRyfVLajhn7yN")));
}