File tree Expand file tree Collapse file tree 5 files changed +22
-7
lines changed
extended/src/test/java/io/kubernetes/client/extended
kubernetes/src/main/java/io/kubernetes/client/openapi
util/src/test/java/io/kubernetes/client/util/generic Expand file tree Collapse file tree 5 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 12
12
*/
13
13
package io .kubernetes .client .extended .controller ;
14
14
15
- import static org .junit .Assert .*;
16
- import static org .mockito .Mockito .*;
15
+ import static org .mockito .ArgumentMatchers .any ;
16
+ import static org .mockito .Mockito .atLeastOnce ;
17
+ import static org .mockito .Mockito .doAnswer ;
18
+ import static org .mockito .Mockito .doReturn ;
19
+ import static org .mockito .Mockito .times ;
20
+ import static org .mockito .Mockito .verify ;
21
+ import static org .mockito .Mockito .when ;
17
22
18
23
import io .kubernetes .client .extended .leaderelection .LeaderElectionConfig ;
19
24
import io .kubernetes .client .extended .leaderelection .LeaderElectionRecord ;
Original file line number Diff line number Diff line change 12
12
*/
13
13
package io .kubernetes .client .extended .kubectl ;
14
14
15
- import static com .github .tomakehurst .wiremock .client .WireMock .*;
15
+ import static com .github .tomakehurst .wiremock .client .WireMock .aResponse ;
16
+ import static com .github .tomakehurst .wiremock .client .WireMock .get ;
17
+ import static com .github .tomakehurst .wiremock .client .WireMock .getRequestedFor ;
18
+ import static com .github .tomakehurst .wiremock .client .WireMock .put ;
19
+ import static com .github .tomakehurst .wiremock .client .WireMock .putRequestedFor ;
16
20
import static com .github .tomakehurst .wiremock .client .WireMock .urlPathEqualTo ;
17
21
import static org .junit .Assert .assertNotNull ;
18
22
import static org .junit .Assert .assertThrows ;
Original file line number Diff line number Diff line change 12
12
*/
13
13
package io .kubernetes .client .extended .kubectl ;
14
14
15
- import static com .github .tomakehurst .wiremock .client .WireMock .*;
15
+ import static com .github .tomakehurst .wiremock .client .WireMock .aResponse ;
16
+ import static com .github .tomakehurst .wiremock .client .WireMock .equalToJson ;
17
+ import static com .github .tomakehurst .wiremock .client .WireMock .patch ;
18
+ import static com .github .tomakehurst .wiremock .client .WireMock .patchRequestedFor ;
16
19
import static com .github .tomakehurst .wiremock .client .WireMock .urlPathEqualTo ;
17
20
import static com .github .tomakehurst .wiremock .core .WireMockConfiguration .options ;
18
21
import static org .junit .Assert .assertNotNull ;
Original file line number Diff line number Diff line change 20
20
import com .google .gson .stream .JsonReader ;
21
21
import com .google .gson .stream .JsonWriter ;
22
22
import io .gsonfire .GsonFireBuilder ;
23
- import io .kubernetes .client .openapi .models .*;
24
23
import java .io .IOException ;
25
24
import java .io .StringReader ;
26
25
import java .lang .reflect .Type ;
Original file line number Diff line number Diff line change 12
12
*/
13
13
package io .kubernetes .client .util .generic ;
14
14
15
- import static com .github .tomakehurst .wiremock .client .WireMock .*;
16
15
import static com .github .tomakehurst .wiremock .client .WireMock .aResponse ;
17
- import static org .junit .Assert .*;
16
+ import static com .github .tomakehurst .wiremock .client .WireMock .delete ;
17
+ import static com .github .tomakehurst .wiremock .client .WireMock .get ;
18
+ import static com .github .tomakehurst .wiremock .client .WireMock .urlEqualTo ;
19
+ import static org .junit .Assert .assertNull ;
20
+ import static org .junit .Assert .assertTrue ;
21
+ import static org .junit .Assert .fail ;
18
22
19
23
import com .github .tomakehurst .wiremock .junit .WireMockRule ;
20
24
import com .google .gson .Gson ;
You can’t perform that action at this time.
0 commit comments