Copyright (C) 2012 Stephen M. Hopper
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
import static org.junit.Assert.*;
Run setup prior to each test.
An instance should never be equal to a null.
Two fields with different order values should not be equal.
Two fields with different version values should not be equal.
Test sorting by order value.
Test sorting by version value.
Test sorting by field name.
Sort first by version, then by order.
final int earlyVersion = 20120925;
final int laterVersion = 20120926;
final int lowerOrder = 5;
final int higherOrder = 7;