X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=holmes-actions%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fholmes%2Fcommon%2Futils%2FAlarmInfoMapperTest.java;h=9ea00573c0d53c27f3e446c0646ddf4a74517774;hb=0c795a78a515168eb600744bf43906d4fd195b30;hp=3d36def36767b3dd0907b92fea6c43bedac66f30;hpb=0ed4589721f3acd3778c470be233ada0d545599f;p=holmes%2Fcommon.git diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/utils/AlarmInfoMapperTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/utils/AlarmInfoMapperTest.java index 3d36def..9ea0057 100644 --- a/holmes-actions/src/test/java/org/onap/holmes/common/utils/AlarmInfoMapperTest.java +++ b/holmes-actions/src/test/java/org/onap/holmes/common/utils/AlarmInfoMapperTest.java @@ -1,12 +1,12 @@ /** * Copyright 2017 ZTE Corporation. - * + *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -33,13 +33,13 @@ public class AlarmInfoMapperTest { expect(resultSet.getString("eventname")).andReturn(""); expect(resultSet.getString("sourceid")).andReturn(""); expect(resultSet.getString("sourcename")).andReturn(""); - expect(resultSet.getInt("sequence")).andReturn(0); + expect(resultSet.getInt("sequence")).andReturn(0); expect(resultSet.getLong("startepochmicrosec")).andReturn(0L); expect(resultSet.getLong("lastepochmicrosec")).andReturn(0L); expect(resultSet.getInt("alarmiscleared")).andReturn(0); expect(resultSet.getInt("rootflag")).andReturn(0); PowerMock.replay(resultSet); - mapper.map(0, resultSet, null); + mapper.map(resultSet, null); PowerMock.verify(resultSet); } }