@Test
public void failureOnConversion() throws IOException {

    final Path path = PathFactory.newPath("file.gdst", "file:///contextpath/file.gdst");
    final GuidedDecisionTable52 table52 = new GuidedDecisionTable52();
    final AttributeCol52 attributeCol52 = new AttributeCol52();
    attributeCol52.setAttribute(Attribute.NEGATE_RULE.getAttributeName());
    table52.getAttributeCols().add(attributeCol52);
    doReturn(mock(PackageDataModelOracle.class)).when(dataModelService).getDataModel(any());
    doReturn(table52).when(guidedDecisionTableEditorService).load(path);
    doReturn("id").when(sessionInfo).getId();
    final XLSConversionResult convert = converter.convert(path);
    assertNotNull(convert);
    verify(decisionTableXLSService, never()).create(any(),
                                                    any(ByteArrayInputStream.class),
                                                    any(),
                                                    any());
    assertFalse(convert.isConverted());
}