소스 업데이트
All checks were successful
Deploy Tools / deploy (push) Successful in 1m26s

This commit is contained in:
jade
2026-08-31 16:39:16 +09:00
parent 42a04c03fd
commit 032b639291
4 changed files with 2 additions and 64 deletions

View File

@@ -1,24 +0,0 @@
package io.shinhanlife.dat.mcc.biz.agt.usecase.impl;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import io.shinhanlife.dat.mcc.biz.agt.dto.AgentToolRequest;
import org.junit.jupiter.api.Test;
class AgentInquiryUseCaseImplTest {
@Test
void returnsAgentProductionForRequestedAgent() {
AgentToolRequest request = new AgentToolRequest();
request.setAgentId("AGT-123456");
request.setQueryDate("2026-08-14");
var response = new AgentPerformanceUseCaseImpl().getProductionSummary(request);
assertEquals("agt_production_summary", response.getToolName());
assertEquals("AGT-123456", response.getReferenceId());
assertEquals("정상", response.getStatus());
assertFalse(response.getDetails().isEmpty());
}
}

View File

@@ -1,14 +0,0 @@
package io.shinhanlife.dat.mcc.biz.pro.usecase;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import org.junit.jupiter.api.Test;
class PersonalCustomerDetailInquiryUseCaseTest {
@Test
void createsToolRequestAndResponseDtos() {
assertNotNull(new PersonalCustomerDetailInquiryRequest());
assertNotNull(new PersonalCustomerDetailInquiryResponse());
}
}

View File

@@ -1,24 +0,0 @@
package io.shinhanlife.dat.mcc.biz.pro.usecase.impl;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import io.shinhanlife.dat.mcc.biz.pro.dto.ProductToolRequest;
import org.junit.jupiter.api.Test;
class ProductInquiryUseCaseImplTest {
@Test
void returnsContractDetailForRequestedCustomer() {
ProductToolRequest request = new ProductToolRequest();
request.setSubjectId("CUST-123456");
request.setQueryDate("2026-08-14");
var response = new ContractInquiryUseCaseImpl().getContractDetail(request);
assertEquals("pro_contract_detail", response.getToolName());
assertEquals("CUST-123456", response.getReferenceId());
assertEquals("정상", response.getStatus());
assertFalse(response.getDetails().isEmpty());
}
}