mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-06-02 00:14:37 +00:00
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code * Fix merge conflicts and some sonar issues Co-authored-by: va1m <va1m@email.com>
This commit is contained in:
@@ -43,7 +43,7 @@ import org.mockito.ArgumentCaptor;
|
||||
public class ProducerTest {
|
||||
|
||||
@Test
|
||||
public void testSend() throws Exception {
|
||||
void testSend() throws Exception {
|
||||
final var publishPoint = mock(MqPublishPoint.class);
|
||||
final var producer = new Producer("producer", publishPoint);
|
||||
verifyZeroInteractions(publishPoint);
|
||||
@@ -63,7 +63,7 @@ public class ProducerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStop() throws Exception {
|
||||
void testStop() throws Exception {
|
||||
final var publishPoint = mock(MqPublishPoint.class);
|
||||
final var producer = new Producer("producer", publishPoint);
|
||||
verifyZeroInteractions(publishPoint);
|
||||
|
||||
Reference in New Issue
Block a user