public void testGetTransactionByTransactionId() { XooaClient xooaClient = new XooaClient(); xooaClient.setApiToken(XooaConstants.API_TOKEN); try { TransactionResponse br = xooaClient.getTransactionByTransactionId("1159c90618cc535338e8dfb39fc86800405ff9c082f7011808d4307a3104ef8d"); Assert.IsNotEmpty(br.getTransactionId()); Assert.IsNotEmpty(br.getCreatorMspId()); Assert.IsNotEmpty(br.getSmartContract()); Assert.IsNotEmpty(br.getType()); Assert.AreEqual("10", br.getTransactionId(), "Transaction IDs do not match"); } catch (XooaRequestTimeoutException xrte) { Assert.IsNotEmpty(xrte.getResultId()); Assert.IsNotEmpty(xrte.getResultUrl()); } }