@Override
    public int compareTo(Bandwidth other) {
        if (other instanceof LongBandwidth) {
            return ComparisonChain.start()
                    .compare(this.bps, ((LongBandwidth) other).bps)
                    .result();
        }
        return ComparisonChain.start()
                .compare(this.bps, other.bps())
                .result();
    }
@Test
    public void testLessThan() {

        assertThat(small, is(lessThan(big)));
        assertThat(small.compareTo(big), is(-1));

        assertThat(big, is(greaterThan(small)));
        assertThat(big.compareTo(small), is(1));

        assertThat(notLongSmall, is(lessThan(notLongBig)));
        assertThat(notLongSmall.compareTo(notLongBig), is(-1));

        assertThat(notLongBig, is(greaterThan(notLongSmall)));
        assertThat(notLongBig.compareTo(notLongSmall), is(1));
    }