No, you've simply typed 'mailSender' twice.
You need to provide accessors to get the value from your SMTPsender, or you need to declare and initialise mailSender in your test harness.
What you've...
Type: Posts; User: newbie
No, you've simply typed 'mailSender' twice.
You need to provide accessors to get the value from your SMTPsender, or you need to declare and initialise mailSender in your test harness.
What you've...
So how do you expect to access your mailSender variable in playingDice when It's only declared in your SMTPsender class?