public List<Instrument> createInstruments(int count, Instrument.InstrumentType... instumentType) {

        List<Instrument> instrumentList = new ArrayList<>();
        Instrument instrument;

        for (int i = 0; i < count; i++) {
            String nameInstrument = instumentType[rnd.nextInt(instumentType.length)].name();

            switch (nameInstrument) {
                case "PIANO": {
                    instrument = pianoFactory();
                    instrumentList.add(instrument);
                }
                break;
                case "GUITAR": {
                    instrument = guitarFactory();
                    instrumentList.add(instrument);
                }
                break;
                case "BASSGUITAR": {
                    instrument = bassGuitarFactory();
                    instrumentList.add(instrument);
                }
                break;
                case "ACCORDION": {
                    instrument = accordionFactory();
                    instrumentList.add(instrument);
                }
                break;
            }
        }
        return instrumentList;
    }