test
This commit is contained in:
parent
b380dbf231
commit
97899ebff6
1 changed files with 13 additions and 0 deletions
|
|
@ -53,6 +53,19 @@ public class BankAccountServiceTest {
|
||||||
mockConsumer = new MockConsumer<>(OffsetResetStrategy.EARLIEST);
|
mockConsumer = new MockConsumer<>(OffsetResetStrategy.EARLIEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@link BankAccountService#bankAccountNew(BaseRequest request)}
|
||||||
|
* Тест проверяет генерацию сущности {@link BankAccount} в Hazelcast при передаче в Apache Kafka.
|
||||||
|
* Входной запрос {@link BankAccountNewRequest}:
|
||||||
|
* {@link BankAccountNewRequest#bankIdentificationCode} - 99999
|
||||||
|
* {@link BankAccountNewRequest#bankName} - ооо тинькофф
|
||||||
|
* {@link BankAccountNewRequest#correspondentAccount} - 9294189285498598598
|
||||||
|
* {@link BankAccountNewRequest#correspondentAccountName} - BIK OF
|
||||||
|
* {@link BankAccountNewRequest#currency} - RUB
|
||||||
|
* {@link BankAccountNewRequest#destination} - OOO ROGA
|
||||||
|
* {@link BankAccountNewRequest#taxpayerIdentificationNumber} - 848484848484
|
||||||
|
* {@link BankAccountNewRequest#taxRegistrationReasonCode} - 886886
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void bankAccountNew() throws InterruptedException {
|
public void bankAccountNew() throws InterruptedException {
|
||||||
//arrange
|
//arrange
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue