JUNIT Null Pointer Exception
问题 it's my first time using JUNIT and I literally cannot get it to work. I've got a person class, in which has firstName and lastName, and a test class in which I need to test the methods. Everytime I attempt to test one though, if i've wrote a test for the particular method, it fails. Here is my code. Person Class public class Person { private String firstName; private String lastName; public Person (String a, String b) { firstName = a; lastName = b; } public String getfirstName() { return