@Test
public void testCheckIfUseGeneric() {

    ConsumerConfig asTrue = new ConsumerConfig();
    asTrue.setInterfaceId(NeedGeneric.NeedGenericInterface.class.getName());
    ConsumerConfig asFalse = new ConsumerConfig();
    asFalse.setInterfaceId(DoNotNeedGeneric.NoNotNeedGenericInterface.class.getName());
    Assert.assertTrue(SofaProtoUtils.checkIfUseGeneric(asTrue));
    Assert.assertFalse(SofaProtoUtils.checkIfUseGeneric(asFalse));
}