File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
commercetools/commercetools-sdk-java-api/src/test/java/com/commercetools Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 77import com .commercetools .api .models .customer .CustomerResourceIdentifierBuilder ;
88import com .commercetools .api .models .payment .PaymentDraft ;
99import com .commercetools .api .models .payment .PaymentMethodInfo ;
10+ import com .commercetools .api .models .payment .PaymentMethodInfoDraft ;
1011import org .assertj .core .api .Assert ;
1112import org .junit .jupiter .api .Test ;
1213import org .mockito .Mock ;
1314
1415import static org .assertj .core .api .Assertions .assertThat ;
15- import static org .junit .jupiter .api .Assertions .assertNotNull ;
16+ import static org .junit .jupiter .api .Assertions .* ;
1617
1718public class PaymentMethodInfoMixinTest {
1819 @ Test
@@ -23,6 +24,6 @@ public void noCustomFieldTest() {
2324 .name (LocalizedString .of ())
2425 .build ();
2526
26- assertNotNull ( paymentMethodInfo .toDraft ());
27+ assertInstanceOf ( PaymentMethodInfoDraft . class , paymentMethodInfo .toDraft ());
2728 }
2829}
You can’t perform that action at this time.
0 commit comments