test_class.declarator: tempDir
test_class.modifier: @TempDir
test_class.original_string: @TempDir
      File tempDir;
test_class.type: File
test_class.var_name: tempDir
test_class.file: core/src/test/java/com/scottlogic/datahelix/generator/core/generation/visualiser/VisualiserWriterFactoryTest.java
test_class.identifier: VisualiserWriterFactoryTest
test_case.body: @Test
      void create_invalidPath_expectFailure() {
          VisualiserWriterFactory writerFactory = new VisualiserWriterFactory(new File("madeUpBadPath").toPath());
          assertThrows(FileNotFoundException.class, () -> writerFactory.create("destination"));
      }
test_case.class_method_signature: VisualiserWriterFactoryTest.create_invalidPath_expectFailure()
test_case.full_signature: @Test void create_invalidPath_expectFailure()
test_case.identifier: create_invalidPath_expectFailure
test_case.invocations: toPath assertThrows create
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void create_invalidPath_expectFailure()
focal_class.declarator: outputFolder
focal_class.modifier: private final
focal_class.original_string: private final Path outputFolder;
focal_class.type: Path
focal_class.var_name: outputFolder
focal_class.file: core/src/main/java/com/scottlogic/datahelix/generator/core/generation/visualiser/VisualiserWriterFactory.java
focal_class.identifier: VisualiserWriterFactory
focal_class.class_method_signature: VisualiserWriterFactory.VisualiserWriterFactory(Path outputFolder)
focal_class.full_signature: public  VisualiserWriterFactory(Path outputFolder)
focal_class.identifier: VisualiserWriterFactory
focal_class.modifiers: public
focal_class.parameters: (Path outputFolder)
focal_class.signature:  VisualiserWriterFactory(Path outputFolder)
focal_class.class_method_signature: VisualiserWriterFactory.create(String destination)
focal_class.full_signature: public Writer create(String destination)
focal_class.identifier: create
focal_class.modifiers: public
focal_class.parameters: (String destination)
focal_class.return: Writer
focal_class.signature: Writer create(String destination)
focal_method.body: public Writer create(String destination) throws IOException {
          String destinationFileName =  outputFolder + File.separator + destination + ".dot";
          System.err.println("CREATING VISUALISER WRITER with destinationFile=" + destinationFileName);
          return new OutputStreamWriter(new FileOutputStream(destinationFileName), StandardCharsets.UTF_8);
      }
focal_method.class_method_signature: VisualiserWriterFactory.create(String destination)
focal_method.full_signature: public Writer create(String destination)
focal_method.identifier: create
focal_method.invocations: println
focal_method.modifiers: public
focal_method.parameters: (String destination)
focal_method.return: Writer
focal_method.signature: Writer create(String destination)