Examples of BaseHasUuid


Examples of com.getperka.flatpack.BaseHasUuid

    assertEquals("Hello World!", codex.read(new JsonPrimitive("Hello World!"), ctx));

    UUID uuid = UUID.randomUUID();
    assertEquals(uuid.toString(), codex.read(new JsonPrimitive(uuid.toString()), ctx));

    HasUuid entity = new BaseHasUuid();
    ctx.putEntity(uuid, entity, EntitySource.RESOLVED);
    assertSame(entity, codex.read(new JsonPrimitive(uuid.toString()), ctx));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.