text: /* global describe, beforeEach, it */
  
  const path = require('path');
  const fse = require('fs-extra');
  const assert = require('yeoman-assert');
  const helpers = require('yeoman-test');
  
  describe('JHipster generator stripe-payment', () => {
      describe('Test with Maven and AngularX', () => {
          beforeEach((done) => {
              helpers
                  .run(path.join(__dirname, '../generators/app'))
                  .inTmpDir((dir) => {
                      fse.copySync(path.join(__dirname, '../test/templates/maven-angularX'), dir);
                  })
                  .withOptions({
                      testmode: true
                  })
                  .withPrompts({
                      message: 'simple message to say hello'
                  })
                  .on('end', done);
          });
  
          it('generate dummy.txt file', () => {
              assert.file([
                  'dummy-maven.txt',
                  'dummy-angularX.txt',
              ]);
          });
      });
  
      describe('Test with Gradle and Angular1', () => {
          beforeEach((done) => {
              helpers
                  .run(path.join(__dirname, '../generators/app'))
                  .inTmpDir((dir) => {
                      fse.copySync(path.join(__dirname, '../test/templates/gradle-angular1'), dir);
                  })
                  .withOptions({
                      testmode: true
                  })
                  .withPrompts({
                      message: 'simple message to say hello'
                  })
                  .on('end', done);
          });
  
          it('generate dummy.txt file', () => {
              assert.file([
                  'dummy-gradle.txt',
                  'dummy-angular1.txt',
              ]);
          });
      });
  });
  