Package com.jk.webstack.listeners.test
Class JKWebStackManagedBeanTest
java.lang.Object
org.mockito.ArgumentMatchers
org.mockito.Mockito
com.jk.web.test.JKManagedBeanTest
com.jk.webstack.listeners.test.JKWebStackManagedBeanTest
This class is used for testing the initialization of
JKDataAccessFactory
before running tests.- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Field Summary
Fields inherited from class com.jk.web.test.JKManagedBeanTest
externalContextMock, facesContextMock, flashMock, requestMock, sessionMock
Fields inherited from class org.mockito.Mockito
CALLS_REAL_METHODS, RETURNS_DEEP_STUBS, RETURNS_DEFAULTS, RETURNS_MOCKS, RETURNS_SELF, RETURNS_SMART_NULLS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
This method initializes theJKDataAccessFactory
before running the test class.Methods inherited from class com.jk.web.test.JKManagedBeanTest
init
Methods inherited from class org.mockito.Mockito
after, atLeast, atLeastOnce, atMost, atMostOnce, calls, clearAllCaches, clearInvocations, description, doAnswer, doCallRealMethod, doNothing, doReturn, doReturn, doThrow, doThrow, doThrow, framework, ignoreStubs, inOrder, lenient, mock, mock, mock, mock, mockConstruction, mockConstruction, mockConstruction, mockConstruction, mockConstruction, mockConstruction, mockConstructionWithAnswer, mockingDetails, mockitoSession, mockStatic, mockStatic, mockStatic, mockStatic, never, only, reset, spy, spy, timeout, times, validateMockitoUsage, verify, verify, verifyNoInteractions, verifyNoMoreInteractions, when, withSettings
Methods inherited from class org.mockito.ArgumentMatchers
any, any, anyBoolean, anyByte, anyChar, anyCollection, anyDouble, anyFloat, anyInt, anyIterable, anyList, anyLong, anyMap, anySet, anyShort, anyString, argThat, booleanThat, byteThat, charThat, contains, doubleThat, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, floatThat, intThat, isA, isNotNull, isNull, longThat, matches, matches, notNull, nullable, refEq, same, shortThat, startsWith
-
Constructor Details
-
JKWebStackManagedBeanTest
public JKWebStackManagedBeanTest()
-
-
Method Details
-
initClass
public static void initClass()This method initializes theJKDataAccessFactory
before running the test class.
-