Search in sources :

Example 1 with ImportanceResponse

use of com.github.rosklyar.client.account.domain.importance.ImportanceResponse in project nem-library by rosklyar.

the class AccountClientTest method getImportances.

@Test
@Disabled("test can fail with timeout")
void getImportances() {
    ImportanceResponse importanceResponse = accountClient.importances();
    assumeTrue(importanceResponse.data.size() > 0);
    assertTrue(importanceResponse.data.stream().filter(info -> info.importance.isSet).findFirst().get().importance.score > 0);
}
Also used : ImportanceResponse(com.github.rosklyar.client.account.domain.importance.ImportanceResponse) Test(org.junit.jupiter.api.Test) Disabled(org.junit.jupiter.api.Disabled)

Aggregations

ImportanceResponse (com.github.rosklyar.client.account.domain.importance.ImportanceResponse)1 Disabled (org.junit.jupiter.api.Disabled)1 Test (org.junit.jupiter.api.Test)1