@Test
public void checkCreate() {

    final Path context = mock(Path.class);
    final String fileName = "filename." + dtType.getSuffix();
    final GuidedDecisionTable52 content = new GuidedDecisionTable52();
    final String comment = "comment";
    when(context.toURI()).thenReturn("file://project/src/main/resources/mypackage");
    final Path p = service.create(context,
                                  fileName,
                                  content,
                                  comment);
    verify(ioService,
           times(1)).write(any(org.uberfire.java.nio.file.Path.class),
                           any(String.class),
                           any(CommentedOption.class));
    assertTrue(p.toURI().contains("src/main/resources/mypackage/filename." + dtType.getSuffix()));
    assertEquals("mypackage",
                 content.getPackageName());
}