### Question:
R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Override public boolean containsString( @Nonnull List<? extends IPrimitiveType<String>> stringList, @Nullable String value ) { if ( value == null ) { return false; } return stringList.stream().anyMatch( s -> value.equals( s.getValue() ) ); } R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext ); @Nonnull @Override Set<FhirVersion> getFhirVersions(); @Nonnull @Override IBaseResource createResource( @Nonnull String resourceType ); @Nonnull @Override IBaseBundle createBundle( @Nonnull List<IBaseResource> result ); @Nonnull @Override ICompositeType createCodeableConcept(); @Nonnull @Override IBaseReference createReference( @Nonnull IBaseResource resource ); @Nonnull @Override IBaseElement createType( @Nonnull String fhirType ); @Override boolean containsString( @Nonnull List<? extends IPrimitiveType<String>> stringList, @Nullable String value ); @Override boolean equalsDeep( @Nonnull IBase base1, @Nonnull IBase base2 );  }### Answer:
@Test public void containsStringNull() { Assert.assertFalse( utils.containsString( Arrays.asList( new StringType( "abc" ), new StringType( "efg" ) ), null ) ); }
@Test public void containsStringFalse() { Assert.assertFalse( utils.containsString( Arrays.asList( new StringType( "abc" ), new StringType( "efg" ) ), "test" ) ); }
@Test public void containsStringTrue() { Assert.assertTrue( utils.containsString( Arrays.asList( new StringType( "abc" ), new StringType( "efg" ) ), "efg" ) ); }