Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created test class for WebSubHelper #669

Merged
merged 19 commits into from
Nov 24, 2021
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a23f0f8
CredentialStoreServiceImplTest update
vipuldhurve Nov 17, 2021
3a8ab45
CredentialStoreServiceImplTest update
vipuldhurve Nov 17, 2021
30d65de
Merge branch 'mosip:develop' into develop
vipuldhurve02 Nov 18, 2021
87ec560
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 22, 2021
899956d
Merge branch 'mosip:develop' into develop
vipuldhurve02 Nov 22, 2021
ae020a5
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 23, 2021
360b20a
Merge remote-tracking branch 'origin/develop' into develop
vipuldhurve Nov 23, 2021
90594bf
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 23, 2021
c50dcd1
Merge branch 'mosip:develop' into develop
vipuldhurve02 Nov 23, 2021
dfdd2bd
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 23, 2021
b9ce6f7
Merge remote-tracking branch 'origin/develop' into develop
vipuldhurve Nov 23, 2021
1db889e
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 23, 2021
51a82b1
Created Test class for HotlistServiceImpl: HotlistServiceImplTest
vipuldhurve Nov 23, 2021
94120f4
Merge branch 'mosip:develop' into develop
vipuldhurve02 Nov 23, 2021
5505a84
Merge branch 'mosip:develop' into develop
vipuldhurve02 Nov 24, 2021
d0b36ec
Created Test class for WebSubHelper: WebSubHelperTest
vipuldhurve Nov 24, 2021
2f13f3a
Merge remote-tracking branch 'origin/develop' into develop
vipuldhurve Nov 24, 2021
3b7b75d
Created Test class for WebSubHelper: WebSubHelperTest
vipuldhurve Nov 24, 2021
767f16f
Created Test class for WebSubHelper: WebSubHelperTest
vipuldhurve Nov 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Created Test class for WebSubHelper: WebSubHelperTest
vipuldhurve committed Nov 24, 2021
commit 3b7b75d05dc7c12a7d8cab1777d14e6f2f0cc24c
Original file line number Diff line number Diff line change
@@ -33,9 +33,6 @@ public class WebSubHelperTest {
@InjectMocks
private WebSubHelper webSubHelper;

@Mock
private WebSubHelper webSubHelperMock;

@Mock
private WebSubEventSubcriber subscriber;

@@ -65,6 +62,8 @@ public void initRegistrarTest(){
webSubHelper.initRegistrar(registrar);
Supplier<Boolean> enableTester=null;
webSubHelper.initRegistrar(registrar, enableTester);
Mockito.doThrow(ResourceAccessException.class).when(registrar).register(enableTester);
webSubHelper.initRegistrar(registrar);
}

@Test(expected = Exception.class)