import com.alibaba.fastjson.serializer.SerializeWriter;
public class NameFilterTest_long extends TestCase {
public void test_namefilter() throws Exception {
NameFilter filter = new NameFilter() {
public String process(Object source, String name, Object value) {
if (name.equals("id")) {
Assert.assertTrue(value instanceof Long);
return "ID";