Skip to content

Commit 3459d97

Browse files
committed
Upgrade to java-8-matchers 1.9
1 parent aba7dde commit 3459d97

10 files changed

+15
-15
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@
174174
<scope>test</scope>
175175
</dependency>
176176
<dependency>
177-
<groupId>co.unruly</groupId>
177+
<groupId>uk.co.probablyfine</groupId>
178178
<artifactId>java-8-matchers</artifactId>
179-
<version>1.6</version>
179+
<version>1.9</version>
180180
<scope>test</scope>
181181
<exclusions>
182182
<exclusion>

src/test/java/no/digipost/signature/client/asice/manifest/CreateDirectManifestTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import java.net.URI;
1313

14-
import static co.unruly.matchers.Java8Matchers.where;
14+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
1515
import static org.hamcrest.MatcherAssert.assertThat;
1616
import static org.hamcrest.Matchers.instanceOf;
1717

src/test/java/no/digipost/signature/client/asice/manifest/CreatePortalManifestTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import java.time.Clock;
1313
import java.util.Collections;
1414

15-
import static co.unruly.matchers.Java8Matchers.where;
15+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
1616
import static java.util.concurrent.TimeUnit.DAYS;
1717
import static org.hamcrest.MatcherAssert.assertThat;
1818
import static org.hamcrest.Matchers.instanceOf;

src/test/java/no/digipost/signature/client/asice/signature/CreateSignatureTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import java.util.Base64;
2727
import java.util.List;
2828

29-
import static co.unruly.matchers.Java8Matchers.where;
29+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
3030
import static java.util.Arrays.asList;
3131
import static org.hamcrest.MatcherAssert.assertThat;
3232
import static org.hamcrest.Matchers.hasSize;

src/test/java/no/digipost/signature/client/direct/DirectJobResponseTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import java.net.URI;
66

7-
import static co.unruly.matchers.Java8Matchers.where;
7+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
88
import static java.util.Arrays.asList;
99
import static org.hamcrest.MatcherAssert.assertThat;
1010
import static org.hamcrest.Matchers.is;

src/test/java/no/digipost/signature/client/direct/SignerStatusTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import java.lang.reflect.Field;
88
import java.util.stream.Stream;
99

10-
import static co.unruly.matchers.Java8Matchers.where;
10+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
1111
import static java.lang.reflect.Modifier.isPublic;
1212
import static java.lang.reflect.Modifier.isStatic;
1313
import static no.digipost.DiggExceptions.mayThrow;

src/test/java/no/digipost/signature/client/portal/PortalSignerTest.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import org.junit.jupiter.api.Test;
44

5-
import static co.unruly.matchers.Java8Matchers.where;
6-
import static co.unruly.matchers.Java8Matchers.whereNot;
7-
import static co.unruly.matchers.OptionalMatchers.contains;
8-
import static co.unruly.matchers.OptionalMatchers.empty;
5+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
6+
import static uk.co.probablyfine.matchers.Java8Matchers.whereNot;
7+
import static uk.co.probablyfine.matchers.OptionalMatchers.contains;
8+
import static uk.co.probablyfine.matchers.OptionalMatchers.empty;
99
import static no.digipost.signature.client.portal.PortalSigner.identifiedByEmail;
1010
import static no.digipost.signature.client.portal.PortalSigner.identifiedByEmailAndMobileNumber;
1111
import static no.digipost.signature.client.portal.PortalSigner.identifiedByMobileNumber;

src/test/java/no/digipost/signature/client/portal/SignatureStatusTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import java.lang.reflect.Field;
99
import java.util.stream.Stream;
1010

11-
import static co.unruly.matchers.Java8Matchers.where;
11+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
1212
import static java.lang.reflect.Modifier.isPublic;
1313
import static java.lang.reflect.Modifier.isStatic;
1414
import static no.digipost.DiggExceptions.mayThrow;

src/test/java/no/digipost/signature/client/portal/SignerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import no.digipost.signature.client.portal.Signature.Signer;
77
import org.junit.jupiter.api.Test;
88

9-
import static co.unruly.matchers.Java8Matchers.where;
10-
import static co.unruly.matchers.Java8Matchers.whereNot;
9+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
10+
import static uk.co.probablyfine.matchers.Java8Matchers.whereNot;
1111
import static no.digipost.signature.client.portal.SignerIdentifier.identifiedByEmailAddress;
1212
import static no.digipost.signature.client.portal.SignerIdentifier.identifiedByEmailAddressAndMobileNumber;
1313
import static no.digipost.signature.client.portal.SignerIdentifier.identifiedByMobileNumber;

src/test/java/no/digipost/signature/client/security/KeyStoreConfigTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import no.digipost.signature.client.core.exceptions.KeyException;
55
import org.junit.jupiter.api.Test;
66

7-
import static co.unruly.matchers.Java8Matchers.where;
7+
import static uk.co.probablyfine.matchers.Java8Matchers.where;
88
import static org.hamcrest.MatcherAssert.assertThat;
99
import static org.hamcrest.Matchers.containsString;
1010
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;

0 commit comments

Comments
 (0)