### Question:
RestClientStepAnalyzer extends ExternalResourceStepAnalyzer<RestMeta> { @Override public IMetaverseNode createResourceNode( IExternalResourceInfo resource ) throws MetaverseException { MetaverseComponentDescriptor componentDescriptor = new MetaverseComponentDescriptor( resource.getName(), getResourceInputNodeType(), descriptor.getNamespace(), descriptor.getContext() ); IMetaverseNode node = createNodeFromDescriptor( componentDescriptor ); return node; }  @Override Set<Class<? extends BaseStepMeta>> getSupportedSteps(); @Override IMetaverseNode createResourceNode( IExternalResourceInfo resource ); @Override String getResourceInputNodeType(); @Override String getResourceOutputNodeType(); @Override boolean isOutput(); @Override boolean isInput(); @Override String toString();  }### Answer:
@Test public void testCreateResourceNode() throws Exception { IExternalResourceInfo res = mock( IExternalResourceInfo.class ); when( res.getName() ).thenReturn( "http: IMetaverseNode resourceNode = analyzer.createResourceNode( res ); assertNotNull( resourceNode ); assertEquals( DictionaryConst.NODE_TYPE_WEBSERVICE, resourceNode.getType() ); assertEquals( "http: }