Thanks for your replies, Mike this is the code I use to instantiate the user
User user = new User("
[email protected]", "password", new Name("first", "middle", "last"), new Address());
and I call the method like this:
user.getWholeName(); //changed the method name due to your suggestion, thanks
and I get an output of a single null.
Thanks
Ed