### Question:
FilterRowsMeta extends BaseTransformMeta implements ITransformMeta<FilterRows, FilterRowsData> { public Object clone() { FilterRowsMeta retval = (FilterRowsMeta) super.clone(); retval.setTrueTransformName( getTrueTransformName() ); retval.setFalseTransformName( getFalseTransformName() ); if ( condition != null ) { retval.condition = (Condition) condition.clone(); } else { retval.condition = null; } return retval; } FilterRowsMeta(); void loadXml( Node transformNode, IHopMetadataProvider metadataProvider ); Condition getCondition(); void setCondition( Condition condition ); void allocate(); Object clone(); String getXml(); void setDefault(); @Override void searchInfoAndTargetTransforms( List<TransformMeta> transforms ); void getFields( IRowMeta rowMeta, String origin, IRowMeta[] info, TransformMeta nextTransform,
                         IVariables variables, IHopMetadataProvider metadataProvider ); void check( List<ICheckResult> remarks, PipelineMeta pipelineMeta, TransformMeta transformMeta,
                     IRowMeta prev, String[] input, String[] output, IRowMeta info, IVariables variables,
                     IHopMetadataProvider metadataProvider ); FilterRows createTransform( TransformMeta transformMeta, FilterRowsData data, int cnr, PipelineMeta tr,
                                     Pipeline pipeline ); FilterRowsData getTransformData(); ITransformIOMeta getTransformIOMeta(); @Override void resetTransformIoMeta(); void handleStreamSelection( IStream stream ); @Override boolean excludeFromCopyDistributeVerification(); List<String> getOrphanFields( Condition condition, IRowMeta prev ); String getTrueTransformName(); @Injection( name = "SEND_TRUE_TRANSFORM" ) void setTrueTransformName( String trueTransformName ); String getFalseTransformName(); @Injection( name = "SEND_FALSE_TRANSFORM" ) void setFalseTransformName( String falseTransformName ); String getConditionXml(); @Injection( name = "CONDITION" ) void setConditionXml( String conditionXml );  }### Answer:
@Test public void testClone() { FilterRowsMeta filterRowsMeta = new FilterRowsMeta(); filterRowsMeta.setCondition( new Condition() ); filterRowsMeta.setTrueTransformName( "true" ); filterRowsMeta.setFalseTransformName( "false" ); FilterRowsMeta clone = (FilterRowsMeta) filterRowsMeta.clone(); assertNotNull( clone.getCondition() ); assertEquals( "true", clone.getTrueTransformName() ); assertEquals( "false", clone.getFalseTransformName() ); }