@Test
public void testCreate() throws Exception {

    final String ruleContent = "rule \"empty\" when then";
    final String creationComment = "initial version";
    when(commentedOptionFactory.makeCommentedOption(creationComment)).thenReturn(commentedOption);
    drlService.create(path, filename, ruleContent, creationComment);
    verify(ioService).write(any(org.uberfire.java.nio.file.Path.class), eq(ruleContent), eq(commentedOption));
}