<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mockito on DevTrace — 글로벌 개발 에러 트러블슈팅</title><link>https://tokkabi.com/tags/mockito/</link><description>Recent content in Mockito on DevTrace — 글로벌 개발 에러 트러블슈팅</description><generator>Hugo -- 0.125.0</generator><language>ko</language><lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tokkabi.com/tags/mockito/index.xml" rel="self" type="application/rss+xml"/><item><title>Mockito에서 void 메서드가 예외를 던지도록 테스트하기 — doThrow().when() 괄호 위치 오류 해결</title><link>https://tokkabi.com/posts/mockito-test-a-void-method-throws-an-exception/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/mockito-test-a-void-method-throws-an-exception/</guid><description>Mockito로 void 반환 메서드가 예외를 던지는지 테스트할 때 &amp;#39;The method when(T) in the type Stubber is not applicable for the arguments (void)&amp;#39; 컴파일 오류가 발생하는 원인과 해결법을 다룹니다. doThrow(...).when(mock).method(...) 처럼 when() 괄호 안에 mock 객체를 정확히 배치해야 합니다.</description></item></channel></rss>