So, our stack is on Spring, and they say that the class is Wizardcalled only from a change in the user interface. On xhtmlit is called like this:
`<.....onchange="changeValue()" value="wizard.type.name">`
A class is never created anywhere in the code, and the only constructor in the class is:
public Wizard(){}
And tell me, it getName()calls a private method getWizardWeapon()- how do I get tested getWizardWeapon()in junit in a separate project (say TestWizard, but in the same workspace)?
source
share