test_class.declarator: ACCOUNT_ID = "GBQUCJ755LJBUFFKFZCTV7XFA6JUR5NAAEJF66SPCN3XROHVKSG3VVUY"
test_class.modifier: private static final
test_class.original_string: private static final String ACCOUNT_ID = "GBQUCJ755LJBUFFKFZCTV7XFA6JUR5NAAEJF66SPCN3XROHVKSG3VVUY";
test_class.type: String
test_class.var_name: ACCOUNT_ID
test_class.declarator: expectedEx = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException expectedEx = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: expectedEx
test_class.declarator: server
test_class.modifier: private
test_class.original_string: private Server server;
test_class.type: Server
test_class.var_name: server
test_class.declarator: mockWebServer
test_class.modifier: private
test_class.original_string: private MockWebServer mockWebServer;
test_class.type: MockWebServer
test_class.var_name: mockWebServer
test_class.file: kin-sdk/kin-sdk-lib/src/test/java/kin/sdk/AccountInfoRetrieverTest.java
test_class.identifier: AccountInfoRetrieverTest
test_case.body: @Test
      public void getStatus_HttpResponseError_OperationFailedException() throws Exception {
          mockWebServer.enqueue(new MockResponse()
                  .setResponseCode(500)
          );
  
          expectedEx.expect(OperationFailedException.class);
          expectedEx.expectCause(Matchers.<Throwable>instanceOf(HttpResponseException.class));
          getStatus(ACCOUNT_ID);
      }
test_case.class_method_signature: AccountInfoRetrieverTest.getStatus_HttpResponseError_OperationFailedException()
test_case.full_signature: @Test public void getStatus_HttpResponseError_OperationFailedException()
test_case.identifier: getStatus_HttpResponseError_OperationFailedException
test_case.invocations: enqueue setResponseCode expect expectCause instanceOf getStatus
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getStatus_HttpResponseError_OperationFailedException()
focal_class.declarator: server
focal_class.modifier: private final
focal_class.original_string: private final Server server;
focal_class.type: Server
focal_class.var_name: server
focal_class.file: kin-sdk/kin-sdk-lib/src/main/java/kin/sdk/AccountInfoRetriever.java
focal_class.identifier: AccountInfoRetriever
focal_class.class_method_signature: AccountInfoRetriever.AccountInfoRetriever(Server server)
focal_class.full_signature:   AccountInfoRetriever(Server server)
focal_class.identifier: AccountInfoRetriever
focal_class.parameters: (Server server)
focal_class.signature:  AccountInfoRetriever(Server server)
focal_class.class_method_signature: AccountInfoRetriever.getBalance(@NonNull String accountId)
focal_class.full_signature:  Balance getBalance(@NonNull String accountId)
focal_class.identifier: getBalance
focal_class.parameters: (@NonNull String accountId)
focal_class.return: Balance
focal_class.signature: Balance getBalance(@NonNull String accountId)
focal_class.class_method_signature: AccountInfoRetriever.getStatus(@NonNull String accountId)
focal_class.full_signature: @AccountStatus int getStatus(@NonNull String accountId)
focal_class.identifier: getStatus
focal_class.modifiers: @AccountStatus
focal_class.parameters: (@NonNull String accountId)
focal_class.return: int
focal_class.signature: int getStatus(@NonNull String accountId)
focal_method.body: @AccountStatus
      int getStatus(@NonNull String accountId) throws OperationFailedException {
          try {
              getBalance(accountId);
              return AccountStatus.CREATED;
          } catch (AccountNotFoundException e) {
              return AccountStatus.NOT_CREATED;
          }
      }
focal_method.class_method_signature: AccountInfoRetriever.getStatus(@NonNull String accountId)
focal_method.full_signature: @AccountStatus int getStatus(@NonNull String accountId)
focal_method.identifier: getStatus
focal_method.invocations: getBalance
focal_method.modifiers: @AccountStatus
focal_method.parameters: (@NonNull String accountId)
focal_method.return: int
focal_method.signature: int getStatus(@NonNull String accountId)