it('should not create a directory if one exists', () => {
            let pathUtilsMock = rewire('../src/path');
            let stub = sinon.stub().returns(true);
            pathUtilsMock.__set__('fs', {
                existsSync: stub,