Fix sonar bugs
diff --git a/src/test/java/org/apache/sling/api/request/builder/impl/HttpSessionImplTest.java b/src/test/java/org/apache/sling/api/request/builder/impl/HttpSessionImplTest.java
index 667860f..2fff2d3 100644
--- a/src/test/java/org/apache/sling/api/request/builder/impl/HttpSessionImplTest.java
+++ b/src/test/java/org/apache/sling/api/request/builder/impl/HttpSessionImplTest.java
@@ -45,7 +45,7 @@
     @Test
     public void testCreationTime() {
         HttpSessionImpl httpSession = new HttpSessionImpl(new ServletContextImpl());
-        assertNotNull(httpSession.getCreationTime());
+        assertTrue(httpSession.getCreationTime() > 0);
     }
 
     @Test
@@ -91,7 +91,7 @@
     @Test
     public void testGetLastAccessedTime() {
         HttpSessionImpl httpSession = new HttpSessionImpl(new ServletContextImpl());
-        assertNotNull(httpSession.getLastAccessedTime());
+        assertTrue(httpSession.getLastAccessedTime() > 0);
     }
 
     @Test