[Spring /JUnit] Mock ๊ฐ์ฒด์ ์ฃผ์๊ฐ ๋น๊ต ๋ฌธ์ - Argument(s) are different! : org.mockito.exceptions.verification.opentest4j.ArgumentsAreDifferent
ยท
Backend/Spring Boot
โ๏ธ์๋ฌ ๋ฉ์์งorg.mockito.exceptions.verification.opentest4j.ArgumentsAreDifferent ๐ป ๊ฐ๋ฐ ํ๊ฒฝFramework : `Spring Boot 3.2.3`DB : `MySQL`(๋ก์ปฌ), `H2`(ํ
์คํธ)Library : `JPA`, `QueryDSL 5.0.0`Test : `JUnit` ๐ ์์ธSpring์์ Junit์ผ๋ก Controller ๋จ์ ๊ฒ์๊ธ ์์ ๊ธฐ๋ฅ์ ํ
์คํธํ๋๋ฐ, `verify()` ๋ถ๋ถ์์ ๊ฒ์ฆ์๋ฌ๊ฐ ๋ฌ๋ค. @Nested @DisplayName("๊ตฌ์ธ ๊ฒ์๊ธ ์์ ") public class updateHiringPostTest { private Long postId; pr..