@Test
public void testConflictingVersions() throws B2JsonException {

    thrown.expectMessage("must not specify both 'firstVersion' and 'versionRange' in class com.backblaze.b2.json.B2JsonTest$VersionConflictClass");
    b2Json.toJson(new VersionConflictClass(5));
}