### Question:
FactoryNewInstance implements Supplier <DATATYPE> { @Nonnull public static <DATATYPE> FactoryNewInstance <DATATYPE> create (@Nullable final Class <DATATYPE> aClass) { return create (aClass, false); } FactoryNewInstance(@Nullable final Class <? extends DATATYPE> aClass, final boolean bCheckInstancable); @Nullable Class <? extends DATATYPE> getFactoryClass(); @Nullable DATATYPE get(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Nonnull static FactoryNewInstance <DATATYPE> create(@Nullable final Class <DATATYPE> aClass); @Nonnull static FactoryNewInstance <DATATYPE> create(@Nullable final Class <DATATYPE> aClass, final boolean bCheckInstancable);  }### Answer:
@Test public void testEqualsAndHashCode () { CommonsTestHelper.testDefaultImplementationWithEqualContentObject (FactoryNewInstance.create (String.class), FactoryNewInstance.create (String.class)); CommonsTestHelper.testDefaultImplementationWithDifferentContentObject (FactoryNewInstance.create (String.class), FactoryNewInstance.create (StringBuilder.class)); }