@Test(expected = IllegalArgumentException.class)
public void testSetNullName() {

    TypeReflector<TestClass> underTest = new TypeReflector<>(TestClass.class);
    underTest.set(new TestClass(), null, "test");
}