### Question:
DragAndDropContainer implements XMLInterface { public int getType() { return type; } DragAndDropContainer( int type, String data );  DragAndDropContainer( int type, String data, String id );  DragAndDropContainer( String xml ); int getType(); void setType( int type ); String getData(); void setData( String data ); String getId(); void setId( String id ); String getTypeCode(); static final int getType( String typeCode ); String getXML(); static final int TYPE_STEP; static final int TYPE_BASE_STEP_TYPE; static final int TYPE_DATABASE_CONNECTION; static final int TYPE_TRANS_HOP; static final int TYPE_TEXT; static final int TYPE_JOB_ENTRY; static final int TYPE_BASE_JOB_ENTRY; static final int TYPE_PHYSICAL_TABLE; static final int TYPE_PHYSICAL_COLUMN; static final int TYPE_BUSINESS_VIEW; static final int TYPE_BUSINESS_TABLE; static final int TYPE_BUSINESS_COLUMN; static final int TYPE_RELATIONSHIP; static final int TYPE_BUSINESS_MODEL; }### Answer:
@Test public void getTypeFromCode() { assertEquals( DragAndDropContainer.TYPE_BASE_STEP_TYPE, DragAndDropContainer.getType( "BaseStep" ) ); }