@Test
public void testConvertWriteRangeToken() {

    Text key = TestData.getText();
    Value value = TestData.getValue();
    RangeToken token = RangeToken.forWriting(key, value);
    Range<Value> range = Iterables
            .getOnlyElement(RangeTokens.convertToRange(token));
    Assert.assertEquals(range, Range.singleton(value));
}