diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-07-10 11:47:01 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-08-07 10:18:47 +0200 |
commit | c1f0313e1f0085afb813d1ba3e2d7fcc71b5833d (patch) | |
tree | 88bece267217d7a1d3d921c85aad2c01778e98f9 /prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java | |
parent | 01578219e470c4cd9b6181c0615759a7118c0abb (diff) |
Checkstyle violations
*Correction of violations
without javadoc
Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java')
-rw-r--r-- | prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java b/prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java index 2e323c5e..ee88f1f8 100644 --- a/prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java +++ b/prh-dmaap-client/src/test/java/org/onap/dcaegen2/services/prh/service/DMaaPReactiveWebClientTest.java @@ -17,6 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ + package org.onap.dcaegen2.services.prh.service; import static org.mockito.Mockito.mock; @@ -30,28 +31,27 @@ import org.springframework.web.reactive.function.client.WebClient; /** * @author <a href="mailto:przemyslaw.wasala@nokia.com">Przemysław Wąsala</a> on 7/5/18 */ -public class DMaaPReactiveWebClientTest { +class DMaaPReactiveWebClientTest { @Test - public void builder_shouldBuildDMaaPReactiveWebClient() { + void builder_shouldBuildDMaaPReactiveWebClient() { //given DmaapConsumerConfiguration dmaapConsumerConfiguration = mock(DmaapConsumerConfiguration.class); - WebClient dMaaPReactiveWebClient; - String dMaaPContentType = "*/*"; - String dMaaPUserName = "DMaaP"; - String dMaaPUserPassword = "DMaaP"; + String dmaaPContentType = "*/*"; + String dmaaPUserName = "DMaaP"; + String dmaaPUserPassword = "DMaaP"; //when - when(dmaapConsumerConfiguration.dmaapContentType()).thenReturn(dMaaPContentType); - when(dmaapConsumerConfiguration.dmaapUserName()).thenReturn(dMaaPUserName); - when(dmaapConsumerConfiguration.dmaapUserPassword()).thenReturn(dMaaPUserPassword); - dMaaPReactiveWebClient = new DMaaPReactiveWebClient() + when(dmaapConsumerConfiguration.dmaapContentType()).thenReturn(dmaaPContentType); + when(dmaapConsumerConfiguration.dmaapUserName()).thenReturn(dmaaPUserName); + when(dmaapConsumerConfiguration.dmaapUserPassword()).thenReturn(dmaaPUserPassword); + WebClient dmaapreactiveWebClient = new DMaaPReactiveWebClient() .fromConfiguration(dmaapConsumerConfiguration) .build(); //then - Assertions.assertNotNull(dMaaPReactiveWebClient); + Assertions.assertNotNull(dmaapreactiveWebClient); } }
\ No newline at end of file |