### Question:
Inflector { public Inflector() { initialize(); } Inflector(); protected  Inflector( Inflector original ); static Inflector getInstance(); @Override @SuppressWarnings("all") Inflector clone(); String pluralize( Object word ); String pluralize( Object word, int count ); boolean isPlural( Object word ); String singularize( Object word ); boolean isSingular( Object word ); String camelCase( String lowerCaseAndUnderscoredWord, boolean uppercaseFirstLetter,
                             char... delimiterChars ); String underscore( String camelCaseWord, char... delimiterChars ); String capitalize( String words ); boolean isUncountable( String word ); Set<String> getUncountables(); void addPluralize( String rule, String replacement ); void addSingularize( String rule, String replacement ); void addIrregular( String singular, String plural ); void addUncountable( String... words ); void clear();  }### Answer:
@Test public void testInflector() { testSingularize( "users", "user" ); testSingularize( "groups", "group" ); testSingularize( "entities", "entity" ); testSingularize( "messages", "message" ); testSingularize( "activities", "activity" ); testSingularize( "binaries", "binary" ); testSingularize( "data", "data" ); testSingularize( "user", "user" ); testSingularize( "group", "group" ); testSingularize( "entity", "entity" ); testSingularize( "message", "message" ); testSingularize( "activity", "activity" ); testSingularize( "binary", "binary" ); testPluralize( "user", "users" ); testPluralize( "group", "groups" ); testPluralize( "entity", "entities" ); testPluralize( "message", "messages" ); testPluralize( "activity", "activities" ); testPluralize( "binary", "binaries" ); testPluralize( "data", "data" ); testPluralize( "users", "users" ); testPluralize( "groups", "groups" ); testPluralize( "entities", "entities" ); testPluralize( "messages", "messages" ); testPluralize( "activities", "activities" ); testPluralize( "binaries", "binaries" ); testPluralize( "com.usergrid.resources.user", "com.usergrid.resources.users" ); testSingularize( "com.usergrid.resources.users", "com.usergrid.resources.user" ); }