@Test
public void testUnsupportedLocationType() {

    GeoCoordinates geoCoordinates = new GeoCoordinatesProtoImpl(1, 2);
    RawCircleLocRef rawLocationReference = new RawCircleLocRef("1", geoCoordinates, 100);
    LocationReference locationReference = openLREncoder.encodeData(rawLocationReference);
    assertFalse(locationReference.isValid());
    assertEquals(locationReference.getReturnCode(), OpenLRProtoStatusCode.UNSUPPORTED_LOCATION_TYPE);
}