summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/aai/sparky/logging/util/LoggingUtilsTest.java
blob: 2db34f757c25b6109ebde0a244f03689a1e7b3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.onap.aai.sparky.logging.util;

import static org.junit.Assert.assertEquals;

import org.junit.Before;
import org.junit.Test;
import org.onap.aai.sparky.logging.util.LoggingUtils;

public class LoggingUtilsTest {

  private LoggingUtils durationTester;

  @Before
  public void init() throws Exception {
    durationTester = new LoggingUtils();
  }

  @Test
  public void durationTester() {


    assertEquals("1425", durationTester.setDuration(3575, 5000));

  }

}