@Test
public void clearAllAccounts() {

    KeyPair account1 = createRandomAccount();
    KeyPair account2 = createRandomAccount();
    KeyPair account3 = createRandomAccount();
    fakeKeyStore = new FakeKeyStore(Arrays.asList(account1, account2, account3));
    kinClient = createNewKinClient();
    kinClient.clearAllAccounts();
    assertThat(kinClient.getAccountCount(), equalTo(0));
}