### Question:
ArtifactMatcher { public static ArtifactIdMatcher artifactId( Matcher<? extends String> artifactId ) { return new ArtifactIdMatcher( artifactId ); } private  ArtifactMatcher(); static ArtifactIdMatcher artifactId( Matcher<? extends String> artifactId ); static ArtifactIdMatcher artifactId( String artifactId ); static ClassifierMatcher classifier( Matcher<? extends String> classifier ); static ClassifierMatcher classifier( String classifier ); static GroupIdMatcher groupId( Matcher<? extends String> groupId ); static GroupIdMatcher groupId( String groupId ); static ScopeMatcher scope( Matcher<? extends String> scope ); static ScopeMatcher scope( String scope ); static TypeMatcher type( Matcher<? extends String> type ); static TypeMatcher type( String type ); static VersionMatcher version( Matcher<? extends String> versionMatcher ); static VersionMatcher version( String version );  }### Answer:
@Test public void testArtifactIdString() { String value = "artifactId"; when( artifact.getArtifactId() ).thenReturn( value ); assertThat( artifact, artifactId( value ) ); }