public async Task ApiKeyNotFound() { var apiClient = new BitFlyerPrivateApiClient("xxxxxxxxxxx", "xxxxxxxxxxx"); try { await apiClient.GetPermissions(); } catch (BitFlyerApiException ex) { Assert.AreEqual(ex.ErrorResponse.Status, -500); Assert.AreEqual(ex.ErrorResponse.ErrorMessage, "Key not found"); } }
public void TestInitialize() { _apiClient = new BitFlyerPrivateApiClient("xxxxxxxxxxx", "xxxxxxxxxxx"); }
public PrivateApiTest() { _apiClient = new BitFlyerPrivateApiClient("xxxxxxxxxxx", "xxxxxxxxxxx"); }