* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aai.logging;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import ch.qos.logback.classic.Level;
-
import ch.qos.logback.classic.spi.ILoggingEvent;
+
import org.junit.*;
public class EcompResponseCodeTest {
public void setUp() throws Exception {
mockEvent = mock(ILoggingEvent.class);
- _ecompResponseCode= spy(EcompResponseCode.class);
+ _ecompResponseCode = spy(EcompResponseCode.class);
}
+
@Test
- public void getDefaultCode(){
+ public void getDefaultCode() {
assertEquals(_ecompResponseCode.convert(mockEvent), LoggingContext.UNKNOWN_ERROR);
}