Skip to content

Commit 4bb112a

Browse files
committed
remove wildcards
1 parent 0396fda commit 4bb112a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

hiero-enterprise-base/src/test/java/com/openelements/hiero/base/test/AccountClientImplTest.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
import com.openelements.hiero.base.HieroException;
88
import com.openelements.hiero.base.protocol.data.*;
99
import com.openelements.hiero.base.protocol.ProtocolLayerClient;
10-
import org.junit.jupiter.api.BeforeEach;
10+
import org.junit.jupiter.api.BeforeEach;import com.openelements.hiero.base.protocol.data.*;
1111
import org.junit.jupiter.api.Test;
1212
import org.mockito.ArgumentMatchers;
1313

14-
import static org.junit.jupiter.api.Assertions.*;
14+
import static org.junit.jupiter.api.Assertions.assertEquals;
15+
import static org.junit.jupiter.api.Assertions.assertNotNull;
16+
import static org.junit.jupiter.api.Assertions.assertThrows;
17+
import static org.junit.jupiter.api.Assertions.assertTrue;
18+
1519
import static org.mockito.ArgumentMatchers.any;
1620
import static org.mockito.Mockito.*;
1721

@@ -158,10 +162,8 @@ void DeleteAccount_throwsHieroException() throws HieroException {
158162

159163
@Test
160164
void DeleteAccount_withSameFromAndToAccount_throwsIllegalArgumentException() {
161-
// Arrange
162165
Account account = mock(Account.class);
163166

164-
// Act & Assert
165167
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () ->
166168
accountClientImpl.deleteAccount(account, account)
167169
);

0 commit comments

Comments
 (0)