naver / arcus-java-client

ARCUS Java client
Apache License 2.0
50 stars 47 forks source link

INTERNAL: Upgrade to JMock version 2 #796

Closed cheesecrust closed 2 months ago

cheesecrust commented 2 months ago

πŸ”— Related Issue

⌨️ What I did

JMock μ—…κ·Έλ ˆμ΄λ“œ

JMock1 을 JMock2 둜 μ—…κ·Έλ ˆμ΄λ“œ ν•˜λ©΄μ„œ λͺ‡λͺ‡ 뢀뢄을 μˆ˜μ •ν•˜μ˜€μŠ΅λ‹ˆλ‹€.

κΈ°μ‘΄

clientMock.expects(once()).method("getTranscoder")
            .will(returnValue(transcoder));

λ³€κ²½ ν›„

context.checking(
            new Expectations() {{
              oneOf(client).getTranscoder();
              will(returnValue(transcoder));
            }}
    );
cheesecrust commented 2 months ago

λ‹€λ₯Έ PR듀을 μ°Έκ³ ν•˜μ—¬ 컀밋을 1개둜 ν†΅ν•©ν•΄μ£Όμ„Έμš”.

https://github.com/naver/arcus-java-client/pull/799 μœ„ pr 에 commit 을 λͺ¨λ‘ ν†΅ν•©ν•˜μ—¬ μ˜¬λ ΈμŠ΅λ‹ˆλ‹€!

λ”°λΌμ„œ pr closed ν•˜κ² μŠ΅λ‹ˆλ‹€.