From 8109b02052d5a66f442d8418340ad3bd7272ff99 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Thu, 8 Mar 2018 17:22:12 +0800 Subject: Made Fields Private Change-Id: I00ffe1aeb7e68cdfd93056fcc33c628c1c3ea63c Issue-ID: HOLMES-118 Signed-off-by: GuangrongFu --- .../test/java/org/onap/holmes/common/producer/MQProducerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'holmes-actions/src/test') diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java index d9dffeb..3fad981 100644 --- a/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java +++ b/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java @@ -70,10 +70,10 @@ public class MQProducerTest { @Test public void init() { MQConfig mqConfig = new MQConfig(); - mqConfig.brokerIp = "127.0.0.1"; - mqConfig.brokerPort = 61616; - mqConfig.brokerPassword = "admin"; - mqConfig.brokerUsername = "admin"; + mqConfig.setBrokerIp("127.0.0.1"); + mqConfig.setBrokerPort(61616); + mqConfig.setBrokerPassword("admin"); + mqConfig.setBrokerUsername("admin"); expect(mqConfigProvider.get()).andReturn(mqConfig).anyTimes(); PowerMock.replayAll(); -- cgit 1.2.3-korg