### Question:
KinAccountImpl extends AbstractKinAccount { @Override public int getStatusSync() throws OperationFailedException { checkValidAccount(); return accountInfoRetriever.getStatus(account.getAccountId()); } KinAccountImpl(KeyPair account, BackupRestore backupRestore, TransactionSender transactionSender,
        AccountActivator accountActivator,
        AccountInfoRetriever accountInfoRetriever, BlockchainEventsCreator blockchainEventsCreator); @Override String getPublicAddress(); @NonNull @Override TransactionId sendTransactionSync(@NonNull String publicAddress, @NonNull BigDecimal amount); @NonNull @Override TransactionId sendTransactionSync(@NonNull String publicAddress, @NonNull BigDecimal amount,
        @Nullable String memo); @NonNull @Override TransactionId sendBurnAccountTransactionSync(@NonNull String publicAddress); @Override boolean isAccountBurnedSync(); @NonNull @Override Balance getBalanceSync(); @Override void activateSync(); @Override int getStatusSync(); @Override BlockchainEvents blockchainEvents(); @Override String export(@NonNull String passphrase);  }### Answer:
@Test public void getStatusSync() throws Exception { initWithRandomAccount(); when(mockAccountInfoRetriever.getStatus(anyString())).thenReturn(AccountStatus.ACTIVATED); int status = kinAccount.getStatusSync(); assertEquals(AccountStatus.ACTIVATED, status); verify(mockAccountInfoRetriever).getStatus(expectedRandomAccount.getAccountId()); }