@Test public void testDeserialize() throws KettleException { StepMetaPropsTest.FooMeta blankMeta = new StepMetaPropsTest.FooMeta(); String serialized = serialize( from( stepMeta ) ); doReturn( serialized ).when( repo ).getStepAttributeString( stepId, "step-xml" ); RepoSerializer .builder() .repo( repo ) .stepId( stepId ) .stepMeta( blankMeta ) .deserialize(); assertThat( stepMeta, equalTo( blankMeta ) ); }
public void deserialize() throws KettleException { String xml = rep.getStepAttributeString( idStep, REPO_TAG ); requireNonNull( MetaXmlSerializer.deserialize( xml ) ) .to( stepMetaInterface ); }
RepoSerializer { public void deserialize() throws KettleException { String xml = rep.getStepAttributeString( idStep, REPO_TAG ); requireNonNull( MetaXmlSerializer.deserialize( xml ) ) .to( stepMetaInterface ); } }
RepoSerializer { public void deserialize() throws KettleException { String xml = rep.getStepAttributeString( idStep, REPO_TAG ); requireNonNull( MetaXmlSerializer.deserialize( xml ) ) .to( stepMetaInterface ); } private  RepoSerializer( StepMetaInterface stepMetaInterface, Repository rep, ObjectId idTrans, ObjectId idStep ); }
RepoSerializer { public void deserialize() throws KettleException { String xml = rep.getStepAttributeString( idStep, REPO_TAG ); requireNonNull( MetaXmlSerializer.deserialize( xml ) ) .to( stepMetaInterface ); } private  RepoSerializer( StepMetaInterface stepMetaInterface, Repository rep, ObjectId idTrans, ObjectId idStep ); static Builder builder(); void serialize(); void deserialize(); }
RepoSerializer { public void deserialize() throws KettleException { String xml = rep.getStepAttributeString( idStep, REPO_TAG ); requireNonNull( MetaXmlSerializer.deserialize( xml ) ) .to( stepMetaInterface ); } private  RepoSerializer( StepMetaInterface stepMetaInterface, Repository rep, ObjectId idTrans, ObjectId idStep ); static Builder builder(); void serialize(); void deserialize();  }