@@ -0,0 +1,1119 @@
+package com.github.bingoohuang.util.instantiator;%0A%0Aimport lombok.Data;%0Aimport org.junit.Test;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0A%0Apublic class BeanInstantiatorFactoryTest %7B%0A    @Data%0A    public static class NullaryConstructorBean %7B%0A        private String name = %22bingoo%22;%0A    %7D%0A%0A    @Data%0A    public static class NonNullaryConstructorBean %7B%0A        private String name = %22bingoo%22;%0A%0A        public NonNullaryConstructorBean(String name) %7B%0A        %7D%0A    %7D%0A%0A%0A    @Test%0A    public void test1() throws Exception %7B%0A        BeanInstantiator%3CNullaryConstructorBean%3E instantiator = BeanInstantiatorFactory.newBeanInstantiator(NullaryConstructorBean.class);%0A        NullaryConstructorBean bean = instantiator.newInstance();%0A        assertThat(bean.getName()).isEqualTo(%22bingoo%22);%0A    %7D%0A%0A    @Test%0A    public void test2() throws Exception %7B%0A        BeanInstantiator%3CNonNullaryConstructorBean%3E instantiator = BeanInstantiatorFactory.newBeanInstantiator(NonNullaryConstructorBean.class);%0A        NonNullaryConstructorBean bean = instantiator.newInstance();%0A        assertThat(bean.getName()).isNull();%0A    %7D%0A%7D

add testcase