@Test(expected=Exception.class)
public void testNoCommandMatchRaiseError() throws Exception {

    String simpleText = "set Commandx {foo}";
    String contents = XviImporter.getBlockContents(simpleText, "set Command");
}