File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
hiero-enterprise-base/src/test/java/com/openelements/hiero/base/test Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 77import com .openelements .hiero .base .HieroException ;
88import com .openelements .hiero .base .protocol .data .*;
99import 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 .*;
1111import org .junit .jupiter .api .Test ;
1212import 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+
1519import static org .mockito .ArgumentMatchers .any ;
1620import 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 );
You can’t perform that action at this time.
0 commit comments