NullPointerException thrown if an argument passed to a constructor is null
williammartin opened this issue · comments
William Martin commented
See: the following (badly named) test:
@Test
public void constructShouldDoSomethingSensibleWithNullArguments() {
Person testPerson = Illuminator
.illuminate(Person.class)
.construct(null);
Assert.assertEquals(NAME, testPerson.getName());
}
Thom Wright commented
Whoops.