From b2925aafd63f031392a4a5d44e105d047af7eed2 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 8 Nov 2018 16:29:04 -0600 Subject: Improve nonContainer Agent Config Issue-ID: AAF-619 Change-Id: I9ea4a5a7fb1d5006d50ffc70f0bc0f98812d1513 Signed-off-by: Instrumental --- .../src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'auth/auth-batch') diff --git a/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java b/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java index 92debf44..fe3d5d95 100644 --- a/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java +++ b/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java @@ -104,24 +104,25 @@ public class JU_Future { @Test public void testResetLocalData() { - future.resetLocalData(); + Future.resetLocalData(); } @Test public void testSizeForDeletion() { - Assert.assertEquals(0, future.sizeForDeletion()); + Assert.assertEquals(0, Future.sizeForDeletion()); } @Test public void testPendingDelete() { - Assert.assertEquals(false, future.pendingDelete(future)); + Assert.assertEquals(false, Future.pendingDelete(future)); } @Test public void testLoad() { Session session = mock(Session.class); Trans trans = mock(Trans.class); - Creator creator = mock(Creator.class); + @SuppressWarnings("unchecked") + Creator creator = (Creator)mock(Creator.class); LogTarget target = mock(LogTarget.class); TimeTaken tt = mock(TimeTaken.class); ResultSet results = mock(ResultSet.class); -- cgit