Thanks.
you should give a try to AssertJ who is a great framework of testing. Assertions.assertThat(fongoDB.isAuthenticated()).isTrue()