test_class.declarator: fakeClient
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private OkHttpClient fakeClient;
test_class.type: OkHttpClient
test_class.var_name: fakeClient
test_class.declarator: mockCall
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Call mockCall;
test_class.type: Call
test_class.var_name: mockCall
test_class.declarator: stellarToml =
              "FEDERATION_SERVER = \"https://api.stellar.org/federation\""
test_class.modifier: private final
test_class.original_string: private final String stellarToml =
              "FEDERATION_SERVER = \"https://api.stellar.org/federation\"";
test_class.type: String
test_class.var_name: stellarToml
test_class.declarator: successResponse =
              "{\"stellar_address\":\"bob*stellar.org\",\"account_id\":\"GCW667JUHCOP5Y7KY6KGDHNPHFM4CS3FCBQ7QWDUALXTX3PGXLSOEALY\"}"
test_class.modifier: private final
test_class.original_string: private final String successResponse =
              "{\"stellar_address\":\"bob*stellar.org\",\"account_id\":\"GCW667JUHCOP5Y7KY6KGDHNPHFM4CS3FCBQ7QWDUALXTX3PGXLSOEALY\"}";
test_class.type: String
test_class.var_name: successResponse
test_class.file: kin-sdk/kin-base/src/test/java/kin/base/federation/FederationTest.java
test_class.identifier: FederationTest
test_class.superclass: extends TestCase
test_case.body: @Test
      public void testMalformedAddress() {
          try {
              FederationResponse response = Federation.resolve("bob*stellar.org*test");
              fail("Expected exception");
          } catch (MalformedAddressException e) {
              //
          }
      }
test_case.class_method_signature: FederationTest.testMalformedAddress()
test_case.full_signature: @Test public void testMalformedAddress()
test_case.identifier: testMalformedAddress
test_case.invocations: resolve fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMalformedAddress()
focal_class.file: kin-sdk/kin-base/src/main/java/kin/base/federation/Federation.java
focal_class.identifier: Federation
focal_class.class_method_signature: Federation.Federation()
focal_class.full_signature: private  Federation()
focal_class.identifier: Federation
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Federation()
focal_class.class_method_signature: Federation.resolve(String value)
focal_class.full_signature: public static FederationResponse resolve(String value)
focal_class.identifier: resolve
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: FederationResponse
focal_class.signature: FederationResponse resolve(String value)
focal_method.body: public static FederationResponse resolve(String value) {
          String[] tokens = value.split("\\*");
          if (tokens.length == 1) {
              // accountId
              return new FederationResponse(null, value, null, null);
          } else if (tokens.length == 2) {
              String domain = tokens[1];
              FederationServer server = FederationServer.createForDomain(domain);
              return server.resolveAddress(value);
          } else {
              throw new MalformedAddressException();
          }
      }
focal_method.class_method_signature: Federation.resolve(String value)
focal_method.full_signature: public static FederationResponse resolve(String value)
focal_method.identifier: resolve
focal_method.invocations: split createForDomain resolveAddress
focal_method.modifiers: public static
focal_method.parameters: (String value)
focal_method.return: FederationResponse
focal_method.signature: FederationResponse resolve(String value)