SofaProtoUtils { public static boolean isProtoClass(Object object) { return object instanceof BindableService; }  static boolean isProtoClass(Object object); static Set<String> getMethodNames(String interfaceId); static boolean checkIfUseGeneric(ConsumerConfig consumerConfig); static String getFullNameWithUniqueId(String fullMethodName, String uniqueId);  }
@Test public void testIsProtoClass() { Assert.assertTrue(SofaProtoUtils.isProtoClass(new BindableServiceImpl())); Assert.assertFalse(SofaProtoUtils.isProtoClass("")); }