Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
처음부터 제대로 배우는 스프링 부트
by
마크 헤클러
,
오시영
,
서정대
May 2023
Beginner to intermediate
384 pages
8h 42m
Korean
Hanbit Media, Inc.
Content preview from
처음부터 제대로 배우는 스프링 부트
353
12
장
리액티브로 더 깊이 들어가기
.getResponseBody())
.expectNext(ac1)
.verifyComplete();
}
이 테스트는 모든 항공기 위치에 대한 단위 테스트와 유사한데, 중요한 예외가 두 가지 있습
니다.
●
지정된
URI
는 검색 엔드포인트를 참조하고
ac1
을 조회하기 위해 검색 매개변수
id
=
1
을 포함합니다.
●
예상 결과는
expectNext
(
ac1
)
체인 연산자에 표시된 대로
ac1
뿐입니다.
항공기 등록번호로 항공기
위치 검색을 테스트하기
위해서
두 개의 해당
위치 도큐먼
트를 포함하도록
getAircraftByReg
모킹 메서드
(
setup
(
)
메서드의
service
.
get
AircraftByReg
(
"N54321"
)
)
를 사용하는 엔드포인트를 호출해 다음의 단위 테스트를 만듭
니다.
@Test
void searchForACPositionByReg() {
StepVerier.create(client.get()
.uri("/acpos/search?reg
=
N54321")
.exchange()
.expectStatus().isOk()
.expectHeader().contentType(MediaType.APPLICATION_JSON)
.returnResult(Aircraft.class)
.getResponseBody()) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
프로그래머의 길 멘토에게 묻다
David Hoover, Adewale Oshineye, Kang Jung Bin
코드로 인프라 관리하기(2판)
키프 모리스
해커, 광기의 랩소디(복간판): 세상을 바꾼 컴퓨터 혁명의 영웅들
박재호, 이해영, 스티븐 레비
SRE를 위한 시스템 설계와 구축
헤더 애드킨스, 벳시 바이어, 폴 블랭킨십, 피오트르 레반도프스키, 애나 오프레아, 애덤 스터블필드
Publisher Resources
ISBN: 9791169210966