@@ -0,0 +1,725 @@
+package com.alibaba.json;%0A%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0A/**%0A * Created by wenshao on 24/06/2017.%0A */%0Apublic class SerializerFeatureDistinctTest extends TestCase %7B%0A    public void test_allfeatures() throws Exception %7B%0A        Set%3CObject%3E masks = new HashSet%3CObject%3E();%0A        for (SerializerFeature feature : SerializerFeature.values()) %7B%0A            Object mask = feature.getMask();%0A            assertFalse(masks.contains(mask));%0A            masks.add(mask);%0A        %7D%0A        assertEquals(masks.size(), SerializerFeature.values().length);%0A%0A        System.out.println(SerializerFeature.values().length);%0A    %7D%0A%7D%0A

add testcase.