public void deserialize()
    throws KettleException {
    String xml = rep.getStepAttributeString( idStep, REPO_TAG );
    requireNonNull( MetaXmlSerializer.deserialize( xml ) )
      .to( stepMetaInterface );
  }
@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();

    // blankMeta hydrated from the RepoSerializer should be the same as the serialized stepMeta
    assertThat( stepMeta, equalTo( blankMeta ) );
  }