@Override
        public boolean equals(Object obj)
        {
            if (obj == null)
            {
                return false;
            }
            if (getClass() != obj.getClass())
            {
                return false;
            }
            final Mouse other = (Mouse) obj;
            if (this.numberOfButtons != other.numberOfButtons)
            {
                return false;
            }
            return true;
        }
Test ser/deser for subclasses that inherit from non-abstract base types.
<p>
Run this standalone to execute the actual tests.

@author David Yu
@created Jan 21, 2011
protostuff-runtime/src/test/java/io/protostuff/runtime/InheritanceTest.java