File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
com.developer.nefarious.zjoule.test/src/com/developer/nefarious/zjoule/test/core/ui Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ public void setUp() {
112
112
mockedStaticClearHandler = mockStatic (ClearHandler .class );
113
113
mockedStaticLogoutHandler = mockStatic (LogoutHandler .class );
114
114
115
- mockedStaticBrowserFactory .when (() -> BrowserFactory .create (mockParent , SWT .WEBKIT )).thenReturn (mockBrowser );
116
115
mockedStaticSelectionListener .when (() -> SelectionListener .create (mockBrowser )).thenReturn (mockSelectionListener );
117
116
mockedStaticViewRender .when (ViewRender ::create ).thenReturn (mockViewRender );
118
117
mockedStaticPartListener .when (() -> PartListener .create (mockBrowser )).thenReturn (mockPartListener );
@@ -127,8 +126,10 @@ public void setUp() {
127
126
}
128
127
129
128
@ Test
130
- public void shouldPlumbPartControl () {
129
+ public void shouldPlumbPartControlForOtherSystems () {
131
130
// Arrange
131
+ mockedStaticBrowserFactory .when (() -> BrowserFactory .create (mockParent , SWT .WEBKIT )).thenReturn (mockBrowser );
132
+
132
133
String mockBuildResult = "html-text" ;
133
134
when (mockViewRender .build ()).thenReturn (mockBuildResult );
134
135
You can’t perform that action at this time.
0 commit comments