File tree Expand file tree Collapse file tree
main/kotlin/com/increase/api/models/lockboxes
test/kotlin/com/increase/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 228
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-776b1bee3036836b954fa0db1e6d0349a04f76799402089994a9147a05967c0e .yml
3- openapi_spec_hash : 185a637305e75b302860dce8d352f54f
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-04156469b84df056ff40f1cd402b851af019c7433591a072e02f90f3bd5e5d62 .yml
3+ openapi_spec_hash : c3ff2c35ac0bdadd4290ad7f063deb5e
44config_hash : eb2035151c7b49c2f12caf55469b8f9a
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ internal class LockboxListPageResponseTest {
2828 .state(" CA" )
2929 .build()
3030 )
31+ .checkDepositBehavior(Lockbox .CheckDepositBehavior .ENABLED )
3132 .createdAt(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
3233 .description(" Lockbox 1" )
3334 .idempotencyKey(null )
3435 .recipientName(" Company Inc." )
35- .status(Lockbox .Status .ACTIVE )
3636 .type(Lockbox .Type .LOCKBOX )
3737 .build()
3838 )
@@ -54,11 +54,11 @@ internal class LockboxListPageResponseTest {
5454 .state(" CA" )
5555 .build()
5656 )
57+ .checkDepositBehavior(Lockbox .CheckDepositBehavior .ENABLED )
5758 .createdAt(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
5859 .description(" Lockbox 1" )
5960 .idempotencyKey(null )
6061 .recipientName(" Company Inc." )
61- .status(Lockbox .Status .ACTIVE )
6262 .type(Lockbox .Type .LOCKBOX )
6363 .build()
6464 )
@@ -84,11 +84,11 @@ internal class LockboxListPageResponseTest {
8484 .state(" CA" )
8585 .build()
8686 )
87+ .checkDepositBehavior(Lockbox .CheckDepositBehavior .ENABLED )
8788 .createdAt(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
8889 .description(" Lockbox 1" )
8990 .idempotencyKey(null )
9091 .recipientName(" Company Inc." )
91- .status(Lockbox .Status .ACTIVE )
9292 .type(Lockbox .Type .LOCKBOX )
9393 .build()
9494 )
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ internal class LockboxTest {
2626 .state(" CA" )
2727 .build()
2828 )
29+ .checkDepositBehavior(Lockbox .CheckDepositBehavior .ENABLED )
2930 .createdAt(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
3031 .description(" Lockbox 1" )
3132 .idempotencyKey(null )
3233 .recipientName(" Company Inc." )
33- .status(Lockbox .Status .ACTIVE )
3434 .type(Lockbox .Type .LOCKBOX )
3535 .build()
3636
@@ -47,11 +47,11 @@ internal class LockboxTest {
4747 .state(" CA" )
4848 .build()
4949 )
50+ assertThat(lockbox.checkDepositBehavior()).isEqualTo(Lockbox .CheckDepositBehavior .ENABLED )
5051 assertThat(lockbox.createdAt()).isEqualTo(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
5152 assertThat(lockbox.description()).contains(" Lockbox 1" )
5253 assertThat(lockbox.idempotencyKey()).isEmpty
5354 assertThat(lockbox.recipientName()).contains(" Company Inc." )
54- assertThat(lockbox.status()).isEqualTo(Lockbox .Status .ACTIVE )
5555 assertThat(lockbox.type()).isEqualTo(Lockbox .Type .LOCKBOX )
5656 }
5757
@@ -72,11 +72,11 @@ internal class LockboxTest {
7272 .state(" CA" )
7373 .build()
7474 )
75+ .checkDepositBehavior(Lockbox .CheckDepositBehavior .ENABLED )
7576 .createdAt(OffsetDateTime .parse(" 2020-01-31T23:59:59Z" ))
7677 .description(" Lockbox 1" )
7778 .idempotencyKey(null )
7879 .recipientName(" Company Inc." )
79- .status(Lockbox .Status .ACTIVE )
8080 .type(Lockbox .Type .LOCKBOX )
8181 .build()
8282
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ internal class LockboxUpdateParamsTest {
1111 fun create () {
1212 LockboxUpdateParams .builder()
1313 .lockboxId(" lockbox_3xt21ok13q19advds4t5" )
14+ .checkDepositBehavior(LockboxUpdateParams .CheckDepositBehavior .DISABLED )
1415 .description(" x" )
1516 .recipientName(" x" )
16- .status(LockboxUpdateParams .Status .INACTIVE )
1717 .build()
1818 }
1919
@@ -31,16 +31,17 @@ internal class LockboxUpdateParamsTest {
3131 val params =
3232 LockboxUpdateParams .builder()
3333 .lockboxId(" lockbox_3xt21ok13q19advds4t5" )
34+ .checkDepositBehavior(LockboxUpdateParams .CheckDepositBehavior .DISABLED )
3435 .description(" x" )
3536 .recipientName(" x" )
36- .status(LockboxUpdateParams .Status .INACTIVE )
3737 .build()
3838
3939 val body = params._body ()
4040
41+ assertThat(body.checkDepositBehavior())
42+ .contains(LockboxUpdateParams .CheckDepositBehavior .DISABLED )
4143 assertThat(body.description()).contains(" x" )
4244 assertThat(body.recipientName()).contains(" x" )
43- assertThat(body.status()).contains(LockboxUpdateParams .Status .INACTIVE )
4445 }
4546
4647 @Test
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ internal class LockboxServiceAsyncTest {
6262 lockboxServiceAsync.update(
6363 LockboxUpdateParams .builder()
6464 .lockboxId(" lockbox_3xt21ok13q19advds4t5" )
65+ .checkDepositBehavior(LockboxUpdateParams .CheckDepositBehavior .DISABLED )
6566 .description(" x" )
6667 .recipientName(" x" )
67- .status(LockboxUpdateParams .Status .INACTIVE )
6868 .build()
6969 )
7070
Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ internal class LockboxServiceTest {
6060 lockboxService.update(
6161 LockboxUpdateParams .builder()
6262 .lockboxId(" lockbox_3xt21ok13q19advds4t5" )
63+ .checkDepositBehavior(LockboxUpdateParams .CheckDepositBehavior .DISABLED )
6364 .description(" x" )
6465 .recipientName(" x" )
65- .status(LockboxUpdateParams .Status .INACTIVE )
6666 .build()
6767 )
6868
You can’t perform that action at this time.
0 commit comments