### Question:
Dstu3FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Override public boolean equalsDeep( @Nonnull IBase base1, @Nonnull IBase base2 ) { return ((Base) base1).equalsDeep( (Base) base2 ); } Dstu3FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext ); @Nonnull @Override Set<FhirVersion> getFhirVersions(); @Nonnull @Override IBaseResource createResource( @Nonnull String resourceType ); @Nonnull @Override IBaseElement createType( @Nonnull String fhirType ); @Nonnull @Override IBaseBundle createBundle( @Nonnull List<IBaseResource> result ); @Nonnull @Override ICompositeType createCodeableConcept(); @Nonnull @Override IBaseReference createReference( @Nonnull IBaseResource resource ); @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 equalsDeepFalse() { Patient p1 = new Patient(); p1.setActive( true ); p1.setManagingOrganization( new Reference( "1234" ) ); Patient p2 = new Patient(); p2.setActive( true ); p2.setManagingOrganization( new Reference( "1235" ) ); Assert.assertFalse( utils.equalsDeep( p1, p2 ) ); }
@Test public void equalsDeepTrue() { Patient p1 = new Patient(); p1.setActive( true ); p1.setManagingOrganization( new Reference( "1234" ) ); Patient p2 = new Patient(); p2.setActive( true ); p2.setManagingOrganization( new Reference( "1234" ) ); Assert.assertTrue( utils.equalsDeep( p1, p2 ) ); }